]> git.lizzy.rs Git - nhentai.git/blobdiff - setup.py
Use ehentai.to / dogehls.xyz mirrors
[nhentai.git] / setup.py
index 199b3ca2429833b1b8d07b30a7e809b9b4137186..82186046d041e59c52548a01c45ba820388f0f22 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,21 @@
+# coding: utf-8
+from __future__ import print_function, unicode_literals
+import sys
+import codecs
 from setuptools import setup, find_packages
 from nhentai import __version__, __author__, __email__
 
+
 with open('requirements.txt') as f:
     requirements = [l for l in f.read().splitlines() if l]
 
+
+def long_description():
+    with codecs.open('README.rst', 'rb') as readme:
+        if not sys.version_info < (3, 0, 0):
+            return readme.read().decode('utf-8')
+
+
 setup(
     name='nhentai',
     version=__version__,
@@ -11,9 +23,11 @@ setup(
 
     author=__author__,
     author_email=__email__,
-    keywords='nhentai, dojinshi',
-    description='nhentai.net dojinshis downloader',
+    keywords=['nhentai', 'doujinshi', 'downloader'],
+    description='nhentai.net doujinshis downloader',
+    long_description=long_description(),
     url='https://github.com/RicterZ/nhentai',
+    download_url='https://github.com/RicterZ/nhentai/tarball/master',
     include_package_data=True,
     zip_safe=False,
 
@@ -24,4 +38,4 @@ setup(
         ]
     },
     license='MIT',
-)
\ No newline at end of file
+)