diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2010-06-22 20:12:43 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2010-06-22 20:12:43 +0200 |
commit | 5e7a7a64df83bc340a05c77820c8c167b318b05f (patch) | |
tree | 9cb0091236ada6bee4abbe8cec30d34320919838 | |
parent | 05b792ccb62dd28f323da2254166213767ee86c2 (diff) | |
download | markupsafe-5e7a7a64df83bc340a05c77820c8c167b318b05f.tar.gz |
Enabled 2to3 for Python 30.9.1
-rw-r--r-- | setup.py | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 ) |