-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsetup.py
35 lines (31 loc) · 1010 Bytes
/
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
from distutils.util import convert_path
from setuptools import setup, find_packages
# import platform
# Get Version from version.py file
main_ns = {}
ver_path = convert_path('pyuarm/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
version = main_ns['__version__']
# Get README.rst for description
long_description = open('README.rst').read()
# Read requirements.txt as install_requires
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(name='pyuarm',
version=version,
author='Alex Tan',
packages=find_packages(),
entry_points={
'scripts': [
'uarmcli = pyuarm.tools.scripts:main',
]
},
author_email='[email protected]',
url="https://github.com/uarm-developer/pyuarm",
keywords="pyuarm uarm4py uarmForPython uarm ufactory",
install_requires=requirements,
long_description=long_description,
description='A python library for uArm',
license='MIT'
)