-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
executable file
·42 lines (38 loc) · 1.29 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
from __future__ import print_function
from setuptools import setup
from mpu9250.version import __version__ as VERSION
from build_utils import BuildCommand
from build_utils import PublishCommand
from build_utils import BinaryDistribution
PACKAGE_NAME = 'mpu9250'
BuildCommand.pkg = PACKAGE_NAME
PublishCommand.pkg = PACKAGE_NAME
PublishCommand.version = VERSION
setup(
author='Kevin Walchko',
author_email='[email protected]',
name=PACKAGE_NAME,
version=VERSION,
description='python library to use the Sparkfun mpu9250 9-Dof IMU',
long_description=open('readme.rst').read(),
url='http://github.com/walchko/{}'.format(PACKAGE_NAME),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Libraries :: Application Frameworks'
],
license='MIT',
keywords=['raspberry', 'pi', '', 'mpu9250', 'imu', 'i2c'],
packages=[PACKAGE_NAME],
install_requires=['build_utils', 'smbus2'],
cmdclass={
'make': BuildCommand,
'publish': PublishCommand
}
)