Elffuss BraidHub

kikocis/freqtrade public

develop · 3.0 KiBRawPermalink
1from sys import version_info
2
3from setuptools import setup
4
5
6if version_info.major == 3 and version_info.minor < 7 or \
7 version_info.major < 3:
8 print('Your Python interpreter must be 3.7 or greater!')
9 exit(1)
10
11from pathlib import Path # noqa: E402
12
13from freqtrade import __version__ # noqa: E402
14
15
16readme_file = Path(__file__).parent / "README.md"
17readme_long = "Crypto Trading Bot"
18if readme_file.is_file():
19 readme_long = (Path(__file__).parent / "README.md").read_text()
20
21# Requirements used for submodules
22api = ['fastapi', 'uvicorn', 'pyjwt', 'aiofiles']
23plot = ['plotly>=4.0']
24hyperopt = [
25 'scipy',
26 'scikit-learn',
27 'scikit-optimize>=0.7.0',
28 'filelock',
29 'joblib',
30 'progressbar2',
31 'psutil',
32 ]
33
34develop = [
35 'coveralls',
36 'flake8',
37 'flake8-type-annotations',
38 'flake8-tidy-imports',
39 'mypy',
40 'pytest',
41 'pytest-asyncio',
42 'pytest-cov',
43 'pytest-mock',
44 'pytest-random-order',
45]
46
47jupyter = [
48 'jupyter',
49 'nbstripout',
50 'ipykernel',
51 'nbconvert',
52 ]
53
54all_extra = api + plot + develop + jupyter + hyperopt
55
56setup(name='freqtrade',
57 version=__version__,
58 description='Crypto Trading Bot',
59 long_description=readme_long,
60 long_description_content_type="text/markdown",
61 url='https://github.com/freqtrade/freqtrade',
62 author='Freqtrade Team',
63 author_email='michael.egger@tsn.at',
64 license='GPLv3',
65 packages=['freqtrade'],
66 setup_requires=['pytest-runner', 'numpy'],
67 tests_require=['pytest', 'pytest-asyncio', 'pytest-cov', 'pytest-mock', ],
68 install_requires=[
69 # from requirements.txt
70 'ccxt>=1.24.96',
71 'SQLAlchemy',
72 'python-telegram-bot>=13.4',
73 'arrow>=0.17.0',
74 'cachetools',
75 'requests',
76 'urllib3',
77 'wrapt',
78 'jsonschema',
79 'TA-Lib',
80 'technical',
81 'tabulate',
82 'pycoingecko',
83 'py_find_1st',
84 'python-rapidjson',
85 'sdnotify',
86 'colorama',
87 'jinja2',
88 'questionary',
89 'prompt-toolkit',
90 'numpy',
91 'pandas',
92 'tables',
93 'blosc',
94 ],
95 extras_require={
96 'api': api,
97 'dev': all_extra,
98 'plot': plot,
99 'jupyter': jupyter,
100 'hyperopt': hyperopt,
101 'all': all_extra,
102 },
103 include_package_data=True,
104 zip_safe=False,
105 entry_points={
106 'console_scripts': [
107 'freqtrade = freqtrade.main:main',
108 ],
109 },
110 classifiers=[
111 'Environment :: Console',
112 'Intended Audience :: Science/Research',
113 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
114 'Programming Language :: Python :: 3.7',
115 'Programming Language :: Python :: 3.8',
116 'Operating System :: MacOS',
117 'Operating System :: Unix',
118 'Topic :: Office/Business :: Financial :: Investment',
119 ])