-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
84 lines (75 loc) · 2.36 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
__author__ = "Paulo Antunes"
__copyright__ = "Copyright 2018, XTCryptoSignals"
__credits__ = [
"Paulo Antunes",
]
__license__ = "GPL"
__maintainer__ = "Paulo Antunes"
__email__ = "pjmlantunes@gmail.com"
import os
from setuptools import (
setup,
find_packages,
)
_ROOT_FOLDER = os.path.dirname(os.path.abspath(__file__))
with open(
os.path.join(_ROOT_FOLDER, "requirements/requirements.txt"), "r"
) as f:
_REQUIREMENTS = [x for x in f.readlines()]
with open(os.path.join(_ROOT_FOLDER, "README.md"), "r") as f:
_LONG_DESCRIPTION = f.read()
_CFG = {}
with open(os.path.join(_ROOT_FOLDER, "xtcryptosignals/__init__.py"), "r") as f:
exec(f.read(), _CFG)
setup(
python_requires=">=3.7",
name=_CFG["__title__"],
version=_CFG["__version__"],
author=_CFG["__author__"],
author_email=_CFG["__email__"],
maintainer=_CFG["__author__"],
maintainer_email=_CFG["__email__"],
description="Platform that collects cryptocurrencies price "
"data, fires alerts based on price sentiment and "
"many other features.",
long_description=_LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://xtcryptosignals.com",
packages=find_packages(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
include_package_data=True,
entry_points={
"console_scripts": [
"xt-tasks=xtcryptosignals.app_tasks:main",
"xt-server=xtcryptosignals.app_server:main",
"xt-client=xtcryptosignals.app_client:main",
"xt-all=xtcryptosignals.scripts.manage:main",
],
},
install_requires=_REQUIREMENTS,
zip_safe=False,
keywords=[
"xtcryptosignals",
"api",
"cryptocurrency",
"bitcoin",
"ethereum",
"signals",
"trading",
"crypto signals",
"exchange",
"crypto",
],
license=_CFG["__license__"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python :: 3.7",
],
)