]> git.lizzy.rs Git - nhentai.git/blobdiff - setup.py
try ... except for reload
[nhentai.git] / setup.py
index 00eb63502179638f47c217396fa20320a98b955a..d6697690bff3f76c2b69dc22614571efecd86bb0 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,17 @@
+# coding: utf-8
+from __future__ import print_function, unicode_literals
+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.md', 'rb') as f:
+        return str(f.read())
+
 setup(
     name='nhentai',
     version=__version__,
@@ -13,7 +21,9 @@ setup(
     author_email=__email__,
     keywords='nhentai, doujinshi',
     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,