Commit b1fcea93 authored by Vincent Pelletier's avatar Vincent Pelletier

setup.py: Fix use_2to3 usage.

parent e07b1f25
......@@ -3,9 +3,7 @@ from setuptools import setup, find_packages
import hashlib
import os
import sys
extra = {}
if sys.version_info >= (3, ):
extra['use_2to3'] = True
from urllib.request import urlretrieve
else:
from urllib import urlretrieve
......@@ -90,5 +88,5 @@ setup(
},
test_suite='apachedex.tests',
zip_safe=True,
**extra
use_2to3=True,
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment