-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
48 lines (39 loc) · 1.15 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
import codecs
import os
from setuptools import find_packages, setup
def read(fname):
return codecs.open(os.path.join(
os.path.dirname(__file__), fname)).read().strip()
with open("README.md", "r") as fh:
long_description = fh.read()
def read_install_requires():
reqs = [
'flake8',
'pytest',
'tenvs',
'torch',
'tensorflow',
'tensorboard',
'trunner',
]
return reqs
setup(name='tbase',
version=read('tbase/VERSION.txt'),
description='基于强化学习的交易算法Baselines',
url='https://github.com/tradingAI/tbase',
author='liuwen',
author_email='liuwen.w@qq.com',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3',
install_requires=read_install_requires(),
package_data={'': ['*.csv', '*.txt']}
)