forked from yombo/yombo-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
109 lines (100 loc) · 2.95 KB
/
Copy pathsetup.py
File metadata and controls
109 lines (100 loc) · 2.95 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/usr/bin/env python3
"""Home Assistant setup script."""
from setuptools import setup, find_packages
import yombo.constants as yombo_const
PROJECT_NAME = 'Yombo'
PROJECT_PACKAGE_NAME = 'yombo'
PROJECT_LICENSE = 'Yombo Reciprocal Public License 1.6'
PROJECT_AUTHOR = 'The Yombo Authors'
PROJECT_COPYRIGHT = ' 2012-2018, {}'.format(PROJECT_AUTHOR)
PROJECT_URL = 'https://yombo.net/'
PROJECT_EMAIL = 'hello@yombo.net'
PROJECT_DESCRIPTION = ('Web based open-source home automation platform '
'using Python 3.')
PROJECT_LONG_DESCRIPTION = ('Yombo is an open-source home automation '
'platform running on Python 3 with an easy to use '
'web interfaces for setup and configuration. Track '
'and control various components within minutes.')
PROJECT_CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Home Automation'
]
PROJECT_GITHUB_USERNAME = 'yombo'
PROJECT_GITHUB_REPOSITORY = 'yombo-gateway'
PYPI_URL = 'https://pypi.python.org/pypi/{}'.format(PROJECT_PACKAGE_NAME)
GITHUB_PATH = '{}/{}'.format(
PROJECT_GITHUB_USERNAME, PROJECT_GITHUB_REPOSITORY)
GITHUB_URL = 'https://github.com/{}'.format(GITHUB_PATH)
DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, yombo_const.__version__)
PACKAGES = find_packages(exclude=['tests', 'tests.*'])
REQUIRES = [
'argon2_cffi>=18.1.0',
'asyncio==3.4.*',
'certifi',
'cython',
'decorator',
'dnspython',
'docutils',
'ephem',
'gnupg',
'hashids',
'hjson',
'jinja2',
'klein',
'logger',
'markdown',
'msgpack-python',
'netaddr',
'netifaces',
'numpy',
'parsedatetime',
'passlib',
'pika',
'pydispatcher',
'pyephem',
'pyopenssl',
'pyserial==3.2.0',
'python_dateutil',
'python-gnupg',
'pytz',
'service_identity',
'six',
'treq',
'Twisted==19.2.*',
'unidecode',
'uvloop',
'voluptuous',
'wheel',
]
MIN_PY_VERSION = '.'.join(map(str, yombo_const.REQUIRED_PYTHON_VER))
setup(
name=PROJECT_PACKAGE_NAME,
version=yombo_const.__version__,
license=PROJECT_LICENSE,
url=PROJECT_URL,
download_url=DOWNLOAD_URL,
author=PROJECT_AUTHOR,
author_email=PROJECT_EMAIL,
description=PROJECT_DESCRIPTION,
packages=PACKAGES,
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=REQUIRES,
python_requires='>={}'.format(MIN_PY_VERSION),
# test_suite='tests',
keywords=['home', 'automation'],
entry_points={
'console_scripts': [
'ybo = yombo.__main__:main'
]
},
classifiers=PROJECT_CLASSIFIERS,
)