summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2010-06-22 20:12:43 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2010-06-22 20:12:43 +0200
commit5e7a7a64df83bc340a05c77820c8c167b318b05f (patch)
tree9cb0091236ada6bee4abbe8cec30d34320919838
parent05b792ccb62dd28f323da2254166213767ee86c2 (diff)
downloadmarkupsafe-5e7a7a64df83bc340a05c77820c8c167b318b05f.tar.gz
Enabled 2to3 for Python 30.9.1
-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
)