-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
51 lines (42 loc) · 1.44 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
# coding=utf-8
import sys
from setuptools import setup, find_packages
kwargs = {}
install_requires = []
version = '1.0.1.8'
if sys.version_info < (3, 0):
with open('README.md') as f:
kwargs['long_description'] = f.read()
with open('requirements.txt') as f:
for require in f:
install_requires.append(require[:-1])
# install_requires.append('subprocess32')
elif sys.version_info > (3, 0):
with open('README.md', encoding='utf-8') as f:
kwargs['long_description'] = f.read()
with open('requirements.txt', encoding='utf-8') as f:
for require in f:
install_requires.append(require[:-1])
# if sys.platform.startswith('linux'):
# install_requires.append('readline')
# elif sys.platform.startswith('win'):
# install_requires.append('pyreadline')
kwargs['install_requires'] = install_requires
setup(
name='datasetstation',
version=version,
include_package_data=True,
packages=find_packages(),
package_data={},
entry_points={
'console_scripts': [
'datasetstation = datasetstation.command.main:main',
],
},
author='CYang',
author_email='zhangchunyang_pri@126.com',
description="datasetstation 快速下载中文数据集,处理数据集,数据分析、可视化分析,一站式解决数据问题",
url="https://github.com/CYang828/datasetstation",
long_description_content_type="text/markdown",
**kwargs
)