-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (45 loc) · 1.64 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup for MagicTrader."""
import io
import re
from setuptools import find_packages, setup
def readme():
with io.open('README.md', encoding='utf-8') as fp:
return fp.read()
def version():
with io.open('magictrader/__init__.py', encoding='utf-8') as fp:
return re.search(r'__version__ = \'(.*?)\'', fp.read()).group(1)
setup(
name='magictrader',
version=version(),
description="MagicTrader makes it easy to do system trade on zaif-exchange.",
long_description=readme(),
long_description_content_type='text/markdown',
author='Yusuke Oya',
author_email='curio@antique-cafe.net',
url='https://github.com/curio184/magictrader',
license='MIT',
include_package_data=True,
packages=find_packages(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='zaif zaifapi zaif-exchange trade bot',
install_requires=['matplotlib', 'mpl_finance', 'numpy', 'pyti', 'SQLAlchemy', 'zaifer', 'requests', 'requests-oauthlib'],
extras_require={
'ta-lib': ['TA-Lib']
},
entry_points="""\
[console_scripts]
create_tradeterminal = magictrader.command:create_tradeterminal
""",
)