]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
might as well explicitly disable the cext on Jython too
authorPhilip Jenvey <pjenvey@underboss.org>
Sat, 23 Apr 2011 02:38:39 +0000 (19:38 -0700)
committerPhilip Jenvey <pjenvey@underboss.org>
Sat, 23 Apr 2011 02:38:39 +0000 (19:38 -0700)
setup.py

index ff82bc45533aa93c9c6be70f8ca541011f86290e..18513fd82de624056488f8a904315620ee7446d3 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -24,6 +24,7 @@ except ImportError:
 
 cmdclass = {}
 pypy = hasattr(sys, 'pypy_version_info')
+jython = sys.platform.startswith('java')
 py3k = False
 extra = {}
 if sys.version_info < (2, 4):
@@ -264,7 +265,7 @@ def run_setup(with_cext):
             **kwargs
           )
 
-if pypy or py3k:
+if pypy or jython or py3k:
     run_setup(False)
     status_msgs(
         "WARNING: C extensions are not supported on " +