-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
54 lines (49 loc) · 1.76 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
import re
from setuptools import setup
install_requires = []
tests_require = ['nose']
with open('fanpy/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(
name='fanpy',
version=version,
description='An API and cli toolset for Fanfou.com',
long_description=open('README.md').read(),
keywords='fanfou, cli',
author='mookrs',
author_email='mookrs+fanpy@gmail.com',
url='https://github.com/mookrs/fanpy',
packages=['fanpy'],
license='MIT',
install_requires=install_requires,
tests_require=tests_require,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Natural Language :: Chinese (Simplified)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Communications :: Chat :: Internet Relay Chat',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
],
entry_points={
'console_scripts': [
'fanpy=fanpy.cli:main',
'fanpy-log=fanpy.logger:main',
'fanpy-archiver=fanpy.archiver:main',
],
}
)