-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
48 lines (44 loc) · 1.36 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 logging
from setuptools import setup, find_packages
readme_file = 'README.md'
try:
import pypandoc
long_description = pypandoc.convert(readme_file, to='rst')
except ImportError:
logging.warning('pypandoc module not found, long_description will be the raw text instead.')
with open(readme_file, encoding='utf-8') as fp:
long_description = fp.read()
setup(
name='hsdata',
version='0.2.16',
packages=find_packages(),
package_data={
'': ['*.md'],
'hsdata': ['career_names.json']
},
include_package_data=True,
install_requires=[
'requests>=2.0',
'scrapy>=1.0'
],
url='https://github.com/youfou/hsdata',
license='Apache 2.0',
author='Youfou',
author_email='[email protected]',
description='用数据玩炉石!快速收集和分析炉石传说的卡牌及卡组数据。',
long_description=long_description,
keywords=[
'炉石',
'Hearthstone',
'数据'
],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'Natural Language :: Chinese (Simplified)',
'Topic :: Games/Entertainment :: Simulation',
'Topic :: Scientific/Engineering :: Information Analysis'
]
)