]> git.lizzy.rs Git - nhentai.git/blob - setup.py
Use ehentai.to / dogehls.xyz mirrors
[nhentai.git] / setup.py
1 # coding: utf-8
2 from __future__ import print_function, unicode_literals
3 import sys
4 import codecs
5 from setuptools import setup, find_packages
6 from nhentai import __version__, __author__, __email__
7
8
9 with open('requirements.txt') as f:
10     requirements = [l for l in f.read().splitlines() if l]
11
12
13 def long_description():
14     with codecs.open('README.rst', 'rb') as readme:
15         if not sys.version_info < (3, 0, 0):
16             return readme.read().decode('utf-8')
17
18
19 setup(
20     name='nhentai',
21     version=__version__,
22     packages=find_packages(),
23
24     author=__author__,
25     author_email=__email__,
26     keywords=['nhentai', 'doujinshi', 'downloader'],
27     description='nhentai.net doujinshis downloader',
28     long_description=long_description(),
29     url='https://github.com/RicterZ/nhentai',
30     download_url='https://github.com/RicterZ/nhentai/tarball/master',
31     include_package_data=True,
32     zip_safe=False,
33
34     install_requires=requirements,
35     entry_points={
36         'console_scripts': [
37             'nhentai = nhentai.command:main',
38         ]
39     },
40     license='MIT',
41 )