forked from Codaone/DEXBot
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
executable file
·76 lines (66 loc) · 2.15 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
#!/usr/bin/env python3
from distutils.command import build as build_module
from setuptools import find_packages, setup
from dexbot import APP_NAME, VERSION
cmd_class = {}
console_scripts = ['dexbot-cli = dexbot.cli:main']
install_requires = []
class BuildCommand(build_module.build):
def run(self):
self.run_command('build_ui')
build_module.build.run(self)
try:
from pyqt_distutils.build_ui import build_ui
cmd_class = {'build_ui': build_ui, 'build': BuildCommand}
console_scripts.append('dexbot-gui = dexbot.gui:main')
install_requires.extend(["pyqt-distutils"])
except BaseException as e:
print("GUI not available: {}".format(e))
setup(
name=APP_NAME,
version=VERSION,
description='Trading bot for the DEX (Graphene)',
long_description=open('README.md').read(),
author='Codaone Oy',
author_email='[email protected]',
maintainer='Codaone Oy',
maintainer_email='[email protected]',
url='https://github.com/graphene-blockchain/DEXBot',
keywords=['DEX', 'bot', 'trading', 'api', 'blockchain', "graphene"],
packages=find_packages(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
],
cmdclass=cmd_class,
entry_points={'console_scripts': console_scripts},
install_requires=[
"pyqt5==5.10",
"pyqt-distutils==0.7.3",
"pyinstaller==3.4",
"click-datetime==0.2",
"aiohttp==3.7.4",
"requests==2.22.0",
"yarl==1.6.3",
"ccxt==1.58.17",
"pywaves==0.8.20",
"graphenelib==1.2.0",
"bitshares",
"uptick==0.2.4",
"ruamel.yaml>=0.15.37",
"appdirs==1.4.3",
"pycryptodomex==3.6.4",
"websocket-client==0.56.0",
"sdnotify==0.3.2",
"sqlalchemy==1.3.0",
"click==7.0",
"alembic==1.0.11",
],
dependency_links=[
'git+git://github.com/graphene-blockchain/python-bitshares@for_dexbot#egg=bitshares'
],
include_package_data=True,
)