mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
fix #14
This commit is contained in:
parent
08ad73b683
commit
7c9693785e
7
setup.py
7
setup.py
@ -1,16 +1,19 @@
|
|||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
from __future__ import print_function, unicode_literals
|
from __future__ import print_function, unicode_literals
|
||||||
|
import sys
|
||||||
import codecs
|
import codecs
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from nhentai import __version__, __author__, __email__
|
from nhentai import __version__, __author__, __email__
|
||||||
|
|
||||||
|
|
||||||
with open('requirements.txt') as f:
|
with open('requirements.txt') as f:
|
||||||
requirements = [l for l in f.read().splitlines() if l]
|
requirements = [l for l in f.read().splitlines() if l]
|
||||||
|
|
||||||
|
|
||||||
def long_description():
|
def long_description():
|
||||||
with codecs.open('README.md', 'r') as f:
|
with codecs.open('README.md', 'rb') as f:
|
||||||
return str(f.read())
|
if sys.version_info >= (3, 0, 0):
|
||||||
|
return str(f.read())
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='nhentai',
|
name='nhentai',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user