-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
48 lines (45 loc) · 1.43 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 os
from os.path import dirname, join
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
lines = [line.strip() for line in f]
requires = [line for line in lines if line and not line.startswith('#')]
with open(join(dirname(__file__), 'VERSION'), 'rb') as f:
version = f.read().decode('utf8').strip()
setup(
name='qdii_value',
version=version,
description='计算 QDII 基金估值',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Operating System :: MacOS :: MacOS X',
'Natural Language :: Chinese (Simplified)',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
url='https://github.com/xiaopc/qdii-value',
author='xiaopc',
author_email='[email protected]',
license='MIT',
packages=[
'qdii_value',
'qdii_value.cli',
'qdii_value.provider',
'qdii_value.provider.equity',
'qdii_value.provider.fund',
],
platforms='any',
zip_safe=False,
python_requires='>=3.6',
install_requires=requires,
entry_points={
'console_scripts': [
'qdii-value=qdii_value.app:main'
]
}
)