mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Enhance setup.py
This commit is contained in:
parent
623e8f6984
commit
bb2d8fefd7
11
setup.py
11
setup.py
|
@ -6,7 +6,14 @@ if version_info.major == 3 and version_info.minor < 6 or \
|
||||||
print('Your Python interpreter must be 3.6 or greater!')
|
print('Your Python interpreter must be 3.6 or greater!')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
from freqtrade import __version__
|
from pathlib import Path # noqa: E402
|
||||||
|
from freqtrade import __version__ # noqa: E402
|
||||||
|
|
||||||
|
|
||||||
|
readme_file = Path(__file__).parent / "README.md"
|
||||||
|
readme_long = "Crypto Trading Bot"
|
||||||
|
if readme_file.is_file():
|
||||||
|
readme_long = (Path(__file__).parent / "README.md").read_text()
|
||||||
|
|
||||||
# Requirements used for submodules
|
# Requirements used for submodules
|
||||||
api = ['flask']
|
api = ['flask']
|
||||||
|
@ -36,6 +43,8 @@ all_extra = api + plot + develop + jupyter
|
||||||
setup(name='freqtrade',
|
setup(name='freqtrade',
|
||||||
version=__version__,
|
version=__version__,
|
||||||
description='Crypto Trading Bot',
|
description='Crypto Trading Bot',
|
||||||
|
long_description=readme_long,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
url='https://github.com/freqtrade/freqtrade',
|
url='https://github.com/freqtrade/freqtrade',
|
||||||
author='gcarq and contributors',
|
author='gcarq and contributors',
|
||||||
author_email='michael.egger@tsn.at',
|
author_email='michael.egger@tsn.at',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user