-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
69 lines (64 loc) · 1.6 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
import setuptools
from itertools import chain
# The basic requirements needed for each type of machine
install_requires = [
"mysql.connector",
"robomaster",
"opencv-python>=4.2",
"numpy",
]
# Requirements per options
extras = {
"experiments": [
"imutils==0.5.4",
"Pillow",
"matplotlib",
"keyboard",
"MyQR",
],
"ai_trainer": [
"opencv-contrib-python",
"PYyaml",
"supersuit @ git+https://[email protected]/RichardDev01/SuperSuit",
"pettingzoo[butterfly]",
"stable-baselines3",
"gym",
"pygame>2.0.0",
"shapely",
"wandb",
"tensorboard",
],
"game_leader": [
"flask",
"flask-cors",
"requests"
],
"robot": [
"flask",
"flask-cors"
]
}
# Overarching requirements
extras['all'] = list(chain.from_iterable(extras.values()))
extras['dev'] = extras['all'] + [
"flake8",
"flake8-blind-except",
"flake8-builtins",
"flake8-docstrings",
"flake8-logging-format",
"pytest"
]
setuptools.setup(
name='robotwars',
description='Robomaster S1 autonomous lasergaming for HU',
version='0.0.1',
package_dir={'': 'src'},
packages=setuptools.find_packages('src'),
install_requires=install_requires,
extras_require=extras,
python_requires='>=3.6.6, <3.9',
keywords=['robomaster', 'robomaster s1', 'lasergame', 's1', 'autonomous', 'reinforcement learning', 'dji'],
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
include_package_data=True,
)