forked from xeroc/stakemachine
-
Notifications
You must be signed in to change notification settings - Fork 126
/
setup.py
executable file
·64 lines (57 loc) · 1.77 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
#!/usr/bin/env python
from setuptools import setup
from setuptools.command.install import install
from pyqt_distutils.build_ui import build_ui
VERSION = '0.1.2'
class InstallCommand(install):
"""Customized setuptools install command - converts .ui and .qrc files to .py files
"""
def run(self):
# Workaround for https://github.com/pypa/setuptools/issues/456
self.do_egg_install()
self.run_command('build_ui')
setup(
name='dexbot',
version=VERSION,
description='Trading bot for the DEX (BitShares)',
long_description=open('README.md').read(),
author='Codaone Oy',
author_email='support@codaone.com',
maintainer='Codaone Oy',
maintainer_email='support@codaone.com',
url='http://www.github.com/codaone/dexbot',
keywords=['DEX', 'bot', 'trading', 'api', 'blockchain'],
packages=[
"dexbot",
"dexbot.strategies",
],
classifiers=[
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
],
cmdclass={
'build_ui': build_ui,
'install': InstallCommand,
},
entry_points={
'console_scripts': [
'dexbot = dexbot.cli:main',
],
},
install_requires=[
"bitshares==0.1.11.beta",
"uptick>=0.1.4",
"click",
"sqlalchemy",
"appdirs",
"ruamel.yaml"
],
dependency_links=[
# Temporally force downloads from a different repo, change this once the websocket fix has been merged
"https://github.com/mikakoi/python-bitshares/tarball/websocket-fix#egg=bitshares-0.1.11.beta"
],
include_package_data=True,
)