forked from jschornick/i2c_device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (49 loc) · 1.68 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
import os
from glob import glob
from setuptools import setup, find_packages
# Setup flags and parameters
pkg_name = 'i2c_device' # top-level package name
# Cache readme contents for use as long_description
readme = open('readme.md').read()
# Call setup()
setup(
name=pkg_name,
version='0.1',
description='I2C device configuration library',
long_description=readme,
url='https://github.com/jschornick/i2c_device',
author='Jeff Schornick',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
data_files = [ ('configs', glob("configs/*")) ],
scripts = glob("examples/*"),
# NOTE: This module has been most thoroughly tested using the python-smbus
# library, which is NOT available via PyPI. Install separately
# via your favorite package manager or from the source:
# http://www.lm-sensors.org/browser/i2c-tools/trunk/py-smbus/
#
# Alternately, try using smbus-cffi below, which just might work, but
# is definitely slower.
install_requires=[
#'smbus-cffi',
'PyYAML'
],
test_suite=(pkg_name + '.tests'),
tests_require=['mock'],
platforms='any',
keywords='i2c device abstraction development utilities tools',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
])