Commits

Victor Stinner committed 024c05a

setup.py tries to use setuptools to get bdist_wheel

post-release: set version to 0.7

Comments (0)

Files changed (2)

astoptimizer/version.py

 PACKAGE = "astoptimizer"
-VERSION = "0.6"
+VERSION = "0.7"
 WEBSITE = "https://bitbucket.org/haypo/astoptimizer"
 LICENSE = "BSD (2 clauses)"
 
 ]
 
 def main():
-    from distutils.core import setup
+    try:
+        from setuptools import setup
+    except ImportError:
+        from distutils.core import setup
 
     metadata = load_source("version", path.join("astoptimizer", "version.py"))