forked from quantOS-org/JAQS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (49 loc) · 1.78 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
from setuptools import setup, find_packages
from jaqs import __version__ as ver
import codecs
import os
def read(fname):
return codecs.open(os.path.join(os.path.dirname(__file__), fname), 'r', encoding='utf-8').read()
def readme():
with codecs.open('README.rst', 'r', encoding='utf-8') as f:
return f.read()
def read_install_requires():
with codecs.open('requirements.txt', 'r', encoding='utf-8') as f:
res = f.readlines()
res = list(map(lambda s: s.replace('\n', ''), res))
return res
setup(
# Install data files specified in MANIFEST.in file.
include_package_data=True,
#package_data={'': ['*.json', '*.css', '*.html']},
# Package Information
name='jaqs',
url='https://github.com/quantOS-org/JAQS',
version=ver,
license='Apache 2.0',
# information
description='Open source quantitative research&trading framework.',
long_description=readme(),
keywords="quantiatitive trading research finance",
classifiers=[
"Development Status :: 4 - Beta",
"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 :: 2.7",
"Programming Language :: Python :: 3.6",
],
# install
install_requires=read_install_requires(),
packages=find_packages(),
# author
author='quantOS'
)