forked from swift-nav/piksi_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·68 lines (60 loc) · 1.89 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
#!/usr/bin/env python
from setuptools import setup
import os
from piksi_tools.version import VERSION
CLASSIFIERS = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
]
PACKAGES = [
'piksi_tools',
'piksi_tools.console',
'piksi_tools.ardupilot'
]
PLATFORMS = [
'linux',
'osx',
'win32',
]
PACKAGE_DATA = { 'piksi_tools' : [
'RELEASE-VERSION',
'console/settings.yaml',
'console/images/fontawesome/download.svg',
'console/images/fontawesome/exclamation-triangle.svg',
'console/images/fontawesome/floppy-o.svg',
'console/images/fontawesome/refresh.svg',
'console/images/fontawesome/stop.svg',
'console/images/iconic/fullscreen.svg',
'console/images/iconic/move.svg',
'console/images/iconic/pause.svg',
'console/images/iconic/play.svg',
'console/images/iconic/stop.svg',
'console/images/iconic/target.svg',
'console/images/iconic/x.svg',
] }
cwd = os.path.abspath(os.path.dirname(__file__))
with open(cwd + '/README.rst') as f:
readme = f.read()
with open(cwd + '/requirements.txt') as f:
INSTALL_REQUIRES = [i.strip() for i in f.readlines()]
setup(name='piksi_tools',
description='Python tools for the Piksi GNSS receiver.',
long_description=readme,
version=VERSION,
author='Swift Navigation',
author_email='[email protected]',
url='https://github.com/swift-nav/piksi_tools',
classifiers=CLASSIFIERS,
packages=PACKAGES,
package_data=PACKAGE_DATA,
platforms=PLATFORMS,
install_requires=INSTALL_REQUIRES,
use_2to3=False,
zip_safe=False)