mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +02:00
fix bug while installing on windows / python3
This commit is contained in:
parent
57e9305849
commit
01c0e73849
@ -1,3 +1,3 @@
|
||||
__version__ = '0.3.3'
|
||||
__version__ = '0.3.4'
|
||||
__author__ = 'RicterZ'
|
||||
__email__ = 'ricterzheng@gmail.com'
|
||||
|
6
setup.py
6
setup.py
@ -11,8 +11,10 @@ with open('requirements.txt') as f:
|
||||
|
||||
|
||||
def long_description():
|
||||
with codecs.open('README.rst', 'r') as f:
|
||||
return str(f.read())
|
||||
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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user