-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (32 loc) · 1.05 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
import os
import sys
from subprocess import call
from setuptools import setup
python_2 = sys.version_info[0] == 2
def read(fname):
with open(fname, 'rU' if python_2 else 'r') as fhandle:
return fhandle.read()
version = '0.1.4'
required = [req.strip() for req in read('requirements.txt').splitlines() if req.strip()]
setup(
name='htu21df',
version=version,
author='Matthew Seal',
author_email='[email protected]',
description='A simple program for controlling an htu21d-f sensor from a Raspberry Pi',
install_requires=required,
license='MIT',
packages=['htu21'],
test_suite='tests',
zip_safe=False,
url='https://github.com/MSeal/htu21df_sensor',
download_url='https://github.com/MSeal/htu21df_sensor/tarball/v' + version,
keywords=['sensors', 'raspberry_pi', 'adafruit', 'scripting'],
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python'
]
)