forked from devicehive/devicehive-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (44 loc) · 2.89 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
# -*- coding: utf-8 -*-
# vim:set et tabstop=4 shiftwidth=4 nu nowrap fileencoding=utf-8:
from os import path
from sys import platform
try:
from setuptools import setup
except:
from distutils.core import setup
from distutils.sysconfig import get_python_lib
setup(
name = 'devicehive',
version = '0.0.2',
author = 'DataArt Apps (http://dataart.com)',
author_email = '[email protected]',
url = 'http://devicehive.com',
summary = 'DeviceHive - the framework for interfacing applications and devices with the web cloud',
license = 'MIT',
description = 'A framework for interfacing applications and devices with the web cloud',
long_description = open('README.md').read(),
keywords = "web cloud api embedded tutorial",
packages = ['devicehive', 'devicehive.client', 'devicehive.device', 'devicehive.gateway'],
install_requires = ['twisted'],
requires = ['twisted (>=12.0)'],
data_files=[(path.join(get_python_lib(), 'devicehive'), ['LICENSE']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/__main__.py']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/test_binary.py']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/test_command.py']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/test_dhjson.py']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/test_proto.py']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/test_utils.py']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/test_wsdev.py']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/test_wsparser.py']),
(path.join(get_python_lib(), 'devicehive', 'tests'), ['tests/test_wsproto.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/basic_gateway_example.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/client_example.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/ping_pong_example.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/ws_devicehive_example.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/raspi_led_thermo.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/virtual_led_example.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/virtual_led_example.cfg']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/rpi_example.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/basic_gateway_example.py']),
(path.join(get_python_lib(), 'devicehive', 'examples'), ['examples/rpi_example.cfg'])]
)