python 2 compatibility

This commit is contained in:
thomwolf committed 2019-02-06 00:07:46 +01:00
1 parent ba37ddc5ce
commit 448937c00d
17 files changed
+246 -184

No files matched your search

+2 -1
View File
@@ -33,6 +33,7 @@ To create the package for pypi.
7. Copy the release notes from RELEASE.md to the tag in github once everything is looking hunky-dory.
"""
from io import open
from setuptools import find_packages, setup
setup(
@@ -58,7 +59,7 @@ setup(
"pytorch_pretrained_bert=pytorch_pretrained_bert.__main__:main",
]
},
python_requires='>=3.5.0',
# python_requires='>=3.5.0',
tests_require=['pytest'],
classifiers=[
'Intended Audience :: Science/Research',