mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 11:01:17 +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'
|
__author__ = 'RicterZ'
|
||||||
__email__ = 'ricterzheng@gmail.com'
|
__email__ = 'ricterzheng@gmail.com'
|
||||||
|
6
setup.py
6
setup.py
@ -11,8 +11,10 @@ with open('requirements.txt') as f:
|
|||||||
|
|
||||||
|
|
||||||
def long_description():
|
def long_description():
|
||||||
with codecs.open('README.rst', 'r') as f:
|
with codecs.open('README.rst', 'rb') as readme:
|
||||||
return str(f.read())
|
if not sys.version_info < (3, 0, 0):
|
||||||
|
return readme.read().decode('utf-8')
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='nhentai',
|
name='nhentai',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user