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