forked from alpacahq/pylivetrader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (56 loc) · 1.71 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
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
from runpy import run_path
from pathlib import Path
VERSION = run_path(
str(Path(__file__).parent) + '/pylivetrader/_version.py')['VERSION']
with open(str(Path(__file__).parent) + '/README.md') as readme_file:
README = readme_file.read()
setup(
name='pylivetrader',
version=VERSION,
description='simple live trading framework',
long_description=README,
long_description_content_type='text/markdown',
license='Apache 2.0',
author='Alpaca',
author_email='[email protected]',
url='https://github.com/alpacahq/pylivetrader.git',
keywords='financial,zipline,pipeline,stock,screening,api,trade',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent',
'Topic :: Office/Business :: Financial',
],
packages=find_packages(),
include_package_data=True,
entry_points='''
[console_scripts]
pylivetrader=pylivetrader.__main__:main
''',
install_requires=[
'bottleneck',
'pandas<0.23',
'pytz',
'logbook',
'astor',
'trading_calendars',
'click',
'PyYAML',
'ipython',
# support alpaca backend by default
'alpaca-trade-api>=0.46',
'pipeline-live>=0.1.9',
],
tests_require=[
'pytest>=5.0.0',
'pytest-cov',
],
setup_requires=["flake8", "pytest-runner", "numpy<1.15"]
)