-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (60 loc) · 1.97 KB
/
setup.py
File metadata and controls
65 lines (60 loc) · 1.97 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
57
58
59
60
61
62
63
64
65
# coding=utf-8
import re
from io import open
from setuptools import find_packages, setup
with open('pyniryo/version.py', 'r', encoding='utf-8') as f:
version = re.match(r'__version__ = ["\']((\d+\.?){3})', f.read())[1]
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
with open('requirements.txt', 'r') as f:
REQUIRES = [str(line.replace("\n", "")) for line in f.readlines()]
kwargs = {
'name':
'pyniryo',
'version':
version,
'description':
'Package to control Niryo Robot "Ned" through TCP',
'long_description':
readme,
'author':
'Niryo',
'author_email':
'r.lux@niryo.com',
'maintainer':
'Niryo',
'maintainer_email':
'admin.it@niryo.com',
'install_requires':
REQUIRES,
'include_package_data':
True,
'url':
'https://github.com/NiryoRobotics/pyniryo',
'license':
'GNU 3.0',
'classifiers': [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Image Recognition',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
],
'tests_require': ['coverage', 'pytest'],
'packages':
find_packages(exclude=('tests', 'tests.*')),
}
setup(**kwargs)