-
Notifications
You must be signed in to change notification settings - Fork 88
/
setup.py
62 lines (55 loc) · 1.78 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
55
56
57
58
59
60
61
62
#!/usr/bin/env python
PROJ_NAME = 'xeHentai'
PACKAGE_NAME = 'xeHentai'
PROJ_METADATA = '%s.json' % PROJ_NAME
import os, json, imp
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.md')).read()
except:
README = ""
try:
CHANGELOG = open(os.path.join(here, 'CHANGELOG.md')).read()
except:
CHANGELOG = ""
VERSION = imp.load_source('version', os.path.join(here, '%s/const.py' % PACKAGE_NAME)).__version__
packages = [
'xeHentai',
'xeHentai.util',
'xeHentai.i18n',
'xeHentai.updater',
]
requires = ['requests']
from setuptools import setup
setup(
name=PACKAGE_NAME,
version=VERSION,
description='xeHentai Downloader',
long_description=README + '\n\n' + CHANGELOG,
author='fffonion',
author_email='[email protected]',
url='https://yooooo.us/2013/xehentai',
packages=packages,
package_dir={'requests': 'requests'},
include_package_data=True,
install_requires=requires,
license='GPLv3',
zip_safe=False,
classifiers=(
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
),
requires=requires,
entry_points = {'console_scripts': ["xeH = xeHentai.cli:start"]},
)