Skip to content
Snippets Groups Projects
Commit e443254b authored by Alex Rubinsteyn's avatar Alex Rubinsteyn
Browse files

use major version by name in setup

parent 9ef82bae
No related merge requests found
......@@ -21,7 +21,7 @@ from setuptools import setup
# normally we would import six.PY2 but can't yet assume that six
# is installed here
PY2 = sys.version_info < (3, 0)
PY2 = (sys.version_info.major == 2)
readme_dir = os.path.dirname(__file__)
readme_filename = os.path.join(readme_dir, 'README.md')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment