support python2.6

This commit is contained in:
Ricter Z
2016-05-02 15:55:14 +08:00
parent bf8205efbe
commit 3a52e8a8bc
8 changed files with 34 additions and 23 deletions

View File

@@ -1,9 +1,15 @@
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', 'r') as f:
return f.read()
setup(
name='nhentai',
version=__version__,
@@ -13,7 +19,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,