summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 3bb9648..ddc1f1b 100644
--- a/setup.py
+++ b/setup.py
@@ -25,6 +25,11 @@ if sys.platform == 'win32' and sys.version_info > (2, 6):
ext_errors += (IOError,)
+extra = {}
+if sys.version_info >= (3, 0):
+ extra['use_2to3'] = True
+
+
class BuildFailed(Exception):
pass
@@ -54,7 +59,7 @@ def run_setup(with_binary):
features['speedups'] = speedups
setup(
name='MarkupSafe',
- version='0.9',
+ version='0.9.1',
url='http://dev.pocoo.org/',
license='BSD',
author='Armin Ronacher',
@@ -78,7 +83,8 @@ def run_setup(with_binary):
test_suite='markupsafe.tests.suite',
include_package_data=True,
cmdclass={'build_ext': ve_build_ext},
- features=features
+ features=features,
+ **extra
)