-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
68 lines (60 loc) · 1.71 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import importlib.machinery
import os
from setuptools import setup, find_packages
here = os.path.dirname(os.path.abspath(__file__))
loader = importlib.machinery.SourceFileLoader(
'curb_energy', os.path.join(here, 'src', 'curb_energy', '__init__.py')
)
install_requires = [
'aiohttp',
'certifi',
'hbmqtt',
'marshmallow',
'pytz',
'sortedcontainers',
'Sphinx',
]
setup_requires = [
'pytest_runner',
]
tests_require = install_requires + [
'coverage',
'flake8',
'responses',
'pylint',
'pytest',
'pytest-asyncio',
'pytest-cov',
'pytest-flake8',
'vcrpy',
]
setup(
name='curb_energy',
version=loader.load_module().__version__,
description='A library for working with the Curb REST API',
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Communications",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Networking",
],
keywords='curb energy monitoring',
author="Gino Ledesma",
author_email="[email protected]",
url="https://github.com/ginoledesma/curb_energy/",
license="Apache 2.0",
packages=find_packages('src'),
package_dir={'': 'src'},
test_suite="tests",
include_package_data=True,
install_requires=install_requires,
tests_require=tests_require,
setup_requires=setup_requires,
)