]> git.lizzy.rs Git - nhentai.git/blob - setup.py
fix bug of setup
[nhentai.git] / setup.py
1 import codecs
2 from setuptools import setup, find_packages
3 from nhentai import __version__, __author__, __email__
4
5 with open('requirements.txt') as f:
6     requirements = [l for l in f.read().splitlines() if l]
7
8
9 def long_description():
10     with codecs.open('README.md', 'r') as f:
11         return f.read()
12
13 setup(
14     name='nhentai',
15     version=__version__,
16     packages=find_packages(),
17
18     author=__author__,
19     author_email=__email__,
20     keywords='nhentai, doujinshi',
21     description='nhentai.net doujinshis downloader',
22     long_description=long_description(),
23     url='https://github.com/RicterZ/nhentai',
24     download_url='https://github.com/RicterZ/nhentai/tarball/master',
25     include_package_data=True,
26     zip_safe=False,
27
28     install_requires=requirements,
29     entry_points={
30         'console_scripts': [
31             'nhentai = nhentai.command:main',
32         ]
33     },
34     license='MIT',
35 )