Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enabled 2to3 for Python 3

  • Loading branch information...
commit 5e7a7a64df83bc340a05c77820c8c167b318b05f 1 parent 05b792c
@mitsuhiko authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 setup.py
View
10 setup.py
@@ -25,6 +25,11 @@
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
)
Please sign in to comment.
Something went wrong with that request. Please try again.