forked from xingetouzi/jaqs-fxdayu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (48 loc) · 1.89 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
import codecs
try:
from pip._internal.req import parse_requirements # for pip >= 10
except ImportError:
from pip.req import parse_requirements
from os.path import dirname, join
from setuptools import (
find_packages,
setup,
)
def readme():
with codecs.open('README.md', 'r', encoding='utf-8') as f:
return f.read()
def version():
with open(join(dirname(__file__), 'jaqs_fxdayu', 'VERSION.txt'), 'rb') as f:
return f.read().decode('ascii').strip()
requirements = [str(ir.req) for ir in parse_requirements("requirements.txt", session=False)]
setup(
name='jaqs_fxdayu',
version=version(),
packages=find_packages(exclude=["examples", "tests", "tests.*", "docs"]),
author='xingetouzi',
author_email='[email protected]',
license='Apache License v2',
package_data={'': ['*.csv', '*.txt']},
url='https://github.com/xingetouzi/jaqs_fxdayu',
keywords="quantiatitive trading research finance",
install_requires=requirements,
description='Open source quantitative research&trading framework, base on https://github.com/quantOS-org/JAQS',
long_description=readme(),
zip_safe=False,
classifiers=[
'Programming Language :: Python',
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: Chinese (Simplified)",
"Natural Language :: English",
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)