-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (50 loc) · 1.73 KB
/
setup.py
File metadata and controls
56 lines (50 loc) · 1.73 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import os
import os.path
from setuptools import find_packages, setup
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]
def run_setup():
"""Get version from git, then install."""
# load long description from README.md
readme_file = "README.md"
if os.path.exists(readme_file):
long_description = open(readme_file, encoding="utf-8", errors="ignore").read()
else:
print("Could not find readme file to extract long_description.")
long_description = ""
setup(
name="qualisys_udp",
version="1.0.0",
install_requires=[
"qtm",
"numpy",
],
author="Ocean Perception - University of Southampton",
description="UDP broadcast server for qualisys with variable rate and added noise", # noqa
long_description=long_description,
url="https://github.com/ocean-perception/qualisys_udp",
packages=find_packages(where="src"),
package_dir={"": "src"},
classifiers=classifiers,
license="BSD",
entry_points={ # Optional
"console_scripts": [
"qualisys_udp = qualisys_udp.cli:main",
],
},
)
if __name__ == "__main__":
run_setup()