-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (37 loc) · 1.47 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (37 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
from setuptools import setup
from setuptools_rust import Binding, RustExtension, Strip
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="pixelflux",
version="2.0.0",
author="Linuxserver.io",
author_email="pypi@linuxserver.io",
description="A performant web native pixel delivery pipeline for diverse sources, blending VNC-inspired parallel processing of pixel buffers with flexible modern encoding formats.",
long_description=long_description,
long_description_content_type="text/markdown",
license="MPL-2.0",
url="https://github.com/linuxserver/pixelflux",
# Single self-contained Rust extension: the top-level `pixelflux` module does X11 (XShm)
# and Wayland capture plus all encoding/conversion. No C/C++ sources, no Python package
# layer -- `import pixelflux` resolves directly to pixelflux.cpython-*.so.
packages=[],
rust_extensions=[
RustExtension(
"pixelflux",
"pixelflux/Cargo.toml",
binding=Binding.PyO3,
debug=False,
strip=Strip.All
)
],
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
],
python_requires=">=3.9",
zip_safe=False,
)