-
Notifications
You must be signed in to change notification settings - Fork 196
/
setup.py
53 lines (45 loc) · 1.6 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
#!/usr/bin/env python
# coding: utf-8
import os
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()
with open(os.path.join("requirements", "requirements.txt")) as reqs:
REQUIREMENTS = reqs.readlines()
with open(os.path.join("requirements", "requirements_test.txt")) as reqs:
REQUIREMENTS_TEST = reqs.readlines()
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='oss@alpaca.markets',
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=REQUIREMENTS,
tests_require=REQUIREMENTS_TEST,
setup_requires=["flake8", "pytest-runner"]
)