-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
51 lines (47 loc) · 1.7 KB
/
setup.py
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
43
44
45
46
47
48
49
50
51
import io
import setuptools
with io.open("README.md", encoding="utf-8") as f:
readme = f.read()
version = {}
with io.open("src/yamcs/client/clientversion.py", encoding="utf-8") as f:
exec(f.read(), version)
version = version["__version__"]
setuptools.setup(
name="yamcs-client",
version=version,
description="Yamcs API client library",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/yamcs/python-yamcs-client",
author="Space Applications Services",
author_email="[email protected]",
license="LGPL",
packages=setuptools.find_namespace_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
],
platforms="Posix; MacOS X; Windows",
install_requires=[
# Protobuf 4 is very different: https://protobuf.dev/news/2022-05-06/
# We should only run with it, once generating with protoc 3.19
"protobuf>=3.11,<4",
"requests",
"setuptools",
"websocket-client",
],
include_package_data=True,
zip_safe=False,
)