Support Python 2.6 & 2.7
This commit is contained in:
parent
aeaad0c330
commit
29a3e0ebf6
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
|
@ -1,3 +1,4 @@
|
|||
import io
|
||||
from os.path import abspath, dirname, join
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
|
|
@ -10,7 +11,8 @@ REQUIREMENTS = [
|
|||
|
||||
|
||||
HERE = dirname(abspath(__file__))
|
||||
DESCRIPTION = '\n\n'.join(open(join(HERE, _), encoding="utf8").read() for _ in [
|
||||
LOAD_TEXT = lambda name: io.open(join(HERE, name), encoding='UTF-8').read()
|
||||
DESCRIPTION = '\n\n'.join(LOAD_TEXT(_) for _ in [
|
||||
'README.rst',
|
||||
'CHANGES.rst',
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue