]> git.lizzy.rs Git - nhentai.git/blob - setup.py
fix #14
[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.md', 'rb') as f:
15         if sys.version_info >= (3, 0, 0):
16             return str(f.read())
17
18 setup(
19     name='nhentai',
20     version=__version__,
21     packages=find_packages(),
22
23     author=__author__,
24     author_email=__email__,
25     keywords='nhentai, doujinshi',
26     description='nhentai.net doujinshis downloader',
27     long_description=long_description(),
28     url='https://github.com/RicterZ/nhentai',
29     download_url='https://github.com/RicterZ/nhentai/tarball/master',
30     include_package_data=True,
31     zip_safe=False,
32
33     install_requires=requirements,
34     entry_points={
35         'console_scripts': [
36             'nhentai = nhentai.command:main',
37         ]
38     },
39     license='MIT',
40 )