-
Notifications
You must be signed in to change notification settings - Fork 140
/
setup.py
71 lines (62 loc) · 2.15 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
70
71
#!/usr/bin/env python
"""Python log parser for ULog.
This module allows you to parse ULog files, which are used within the PX4
autopilot middleware.
The file format is documented on https://docs.px4.io/master/en/dev_log/ulog_file_format.html
"""
import versioneer
from setuptools import setup, find_packages
DOCLINES = __doc__.split("\n")
CLASSIFIERS = """\
Development Status :: 1 - Planning
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Other
Topic :: Software Development
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Scientific/Engineering :: Mathematics
Topic :: Scientific/Engineering :: Physics
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
"""
# pylint: disable=invalid-name
setup(
name='pyulog',
maintainer="James Goppert",
maintainer_email="[email protected]",
description=DOCLINES[0],
long_description="\n".join(DOCLINES[2:]),
url='https://github.com/PX4/pyulog',
author='Beat Kueng',
author_email='[email protected]',
download_url='https://github.com/PX4/pyulog',
license='BSD 3-Clause',
classifiers=[_f for _f in CLASSIFIERS.split('\n') if _f],
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
install_requires=[
"numpy < 1.25; python_version < '3.9'",
"numpy >= 1.25; python_version >= '3.9'",
],
tests_require=['pytest', 'ddt'],
entry_points = {
'console_scripts': [
'ulog_extract_gps_dump=pyulog.extract_gps_dump:main',
'ulog_info=pyulog.info:main',
'ulog_messages=pyulog.messages:main',
'ulog_params=pyulog.params:main',
'ulog2csv=pyulog.ulog2csv:main',
'ulog2kml=pyulog.ulog2kml:main',
'ulog2rosbag=pyulog.ulog2rosbag:main',
'ulog_migratedb=pyulog.migrate_db:main',
],
},
packages=find_packages(),
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
include_package_data=True,
)