-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
94 lines (65 loc) · 2.75 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
from setuptools import setup, find_packages
import os
from os import path
here = path.abspath(path.dirname(__file__))
__version__ = "0.1.0"
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def recursively_list_all_files(directory: str):
paths = []
for (path, _, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
setup(
name='bdsim_realtime',
version=__version__,
description='Real-time execution and remote monitoring and tuning of BDSim Block-Diagrams for modelling and control of Dynamical Systems',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
"Operating System :: OS Independent",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3 :: Only'],
project_urls={
'Documentation': 'https://github.com/CallumJHays/bdsim_realtime',
'Source': 'https://github.com/CallumJHays/bdsim_realtime',
'Tracker': 'https://github.com/CallumJHays/bdsim_realtime/issues',
},
url='https://github.com/CallumJHays/bdsim_realtime',
author='Callum Hays',
author_email='[email protected]',
keywords='python bdsim realtime control remote-control telemetry tuning-interface webapplication tuner signal-analysis control-system block-diagram computation-graph data-flow control-flow rtos simulation modeling computer-vision opencv',
license='MIT',
python_requires='>=3.6',
packages=find_packages(exclude=["test_*", "TODO*"]),
include_package_data=True,
package_data={
'': recursively_list_all_files('bdsim_realtime/frontend_dist')
},
install_requires=[
'numpy',
'typing_extensions',
'sanic>=22.0.0',
'msgpack',
'spatialmath-python',
# bdsim 1.0.1 (not yet released)
'bdsim @ git+https://github.com/petercorke/bdsim@e9b5691c5f2c43ec0f7759268c9d00da4af8adfd#egg=bdsim',
'flask'
],
extras_require={
'opencv': 'opencv-python>=2.0.0' # if you want to use computer-vision blocks
}
)