Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Switch from setuptools to distribute.
  • Loading branch information
inducer committed Oct 15, 2009
1 parent 00ec6a0 commit ce4b316
Show file tree
Hide file tree
Showing 5 changed files with 456 additions and 289 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -16,3 +16,4 @@ dist
*.egg-info
*.pyd
*.so
setuptools.pth
23 changes: 11 additions & 12 deletions aksetup_helper.py
@@ -1,7 +1,6 @@
# dealings with ez_setup ------------------------------------------------------
import ez_setup

ez_setup.use_setuptools()
import distribute_setup
distribute_setup.use_setuptools()

from setuptools import Extension

Expand All @@ -15,9 +14,9 @@ def setup(*args, **kwargs):
except SystemExit:
raise
except:
print "--------------------------------------------------------------------------"
print "Sorry, your build failed. Try rerunning configure with different options."
print "--------------------------------------------------------------------------"
print "----------------------------------------------------------------------------"
print "Sorry, your build failed. Try rerunning configure.py with different options."
print "----------------------------------------------------------------------------"
raise


Expand Down Expand Up @@ -110,20 +109,20 @@ def get_config(schema=None):
schema = get_config_schema()

if not schema.have_config() and not schema.have_global_config():
print "********************************************************"
print "*** I have detected that you have not run configure."
print "********************************************************"
print "*************************************************************"
print "*** I have detected that you have not run configure.py."
print "*************************************************************"
print "*** Additionally, no global config files were found."
print "*** I will go ahead with the default configuration."
print "*** In all likelihood, this will not work out."
print "*** "
print "*** See README_SETUP.txt for more information."
print "*** "
print "*** If the build does fail, just re-run configure with the"
print "*** If the build does fail, just re-run configure.py with the"
print "*** correct arguments, and then retry. Good luck!"
print "********************************************************"
print "*************************************************************"
print "*** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT"
print "********************************************************"
print "*************************************************************"

delay = 10

Expand Down

0 comments on commit ce4b316

Please sign in to comment.