forked from ttu/ruuvitag-sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (44 loc) · 1.45 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
from setuptools import setup
import ruuvitag_sensor
try:
import pypandoc
readme = pypandoc.convert_file('README.md', 'rst')
readme = readme.replace('\r', '')
except ImportError:
import io
with io.open('README.md', encoding='utf-8') as f:
readme = f.read()
setup(name='ruuvitag_sensor',
version=ruuvitag_sensor.__version__,
description='Find RuuviTag sensor beacons and get data from selected ' +
'sensor and decode data from eddystone url',
long_description=readme,
url='https://github.com/ttu/ruuvitag-sensor',
download_url='https://github.com/ttu/ruuvitag-sensor/tarball/' +
ruuvitag_sensor.__version__,
author='Tomi Tuhkanen',
author_email='[email protected]',
platforms='any',
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'
],
keywords='RuuviTag BLE',
install_requires=[
'rx',
'futures;python_version<"3.3"',
'ptyprocess;platform_system=="Linux"'
],
license='MIT',
packages=['ruuvitag_sensor'],
include_package_data=True,
tests_require=[
'nose',
'mock'
],
test_suite='nose.collector',
zip_safe=True)