|
1 | | -from setuptools import setup, Extension |
2 | | -import platform |
| 1 | +import setuptools |
3 | 2 |
|
4 | 3 | version = '2.9.1' |
5 | 4 |
|
6 | | -setup(name='dronekit', |
7 | | - zip_safe=True, |
8 | | - version=version, |
9 | | - description='Developer Tools for Drones.', |
10 | | - long_description='Python API for communication and control of drones over MAVLink.', |
11 | | - url='https://github.com/dronekit/dronekit-python', |
12 | | - author='3D Robotics', |
13 | | - install_requires=[ |
14 | | - 'pymavlink>=2.2.20', |
15 | | - 'monotonic>=1.2', |
16 | | - 'future>=0.15.2' |
17 | | - ], |
18 | | - |
19 | | - classifiers=[ |
20 | | - 'Development Status :: 5 - Production/Stable', |
21 | | - 'Environment :: Console', |
22 | | - 'Intended Audience :: Science/Research', |
23 | | - 'License :: OSI Approved :: Apache Software License', |
24 | | - 'Operating System :: OS Independent', |
25 | | - 'Programming Language :: Python :: 2.7', |
26 | | - 'Topic :: Scientific/Engineering', |
27 | | - ], |
28 | | - license='apache', |
29 | | - packages=[ |
30 | | - 'dronekit', 'dronekit.test' |
31 | | - ], |
32 | | - ext_modules=[]) |
| 5 | +setuptools.setup( |
| 6 | + name='dronekit', |
| 7 | + zip_safe=True, |
| 8 | + version=version, |
| 9 | + description='Developer Tools for Drones.', |
| 10 | + long_description='Python API for communication and control of drones over MAVLink.', |
| 11 | + url='https://github.com/dronekit/dronekit-python', |
| 12 | + author='3D Robotics', |
| 13 | + install_requires=[ |
| 14 | + 'pymavlink>=2.2.20', |
| 15 | + 'monotonic>=1.3 ; python_version<"3.3"', |
| 16 | + ], |
| 17 | + |
| 18 | + classifiers=[ |
| 19 | + 'Development Status :: 5 - Production/Stable', |
| 20 | + 'Environment :: Console', |
| 21 | + 'Intended Audience :: Science/Research', |
| 22 | + 'License :: OSI Approved :: Apache Software License', |
| 23 | + 'Operating System :: OS Independent', |
| 24 | + 'Programming Language :: Python :: 2.7', |
| 25 | + 'Programming Language :: Python :: 3', |
| 26 | + 'Topic :: Scientific/Engineering', |
| 27 | + ], |
| 28 | + license='apache', |
| 29 | + packages=setuptools.find_packages() |
| 30 | +) |
0 commit comments