Better setuptools detection
Bug #504968 reported by
Sridhar Ratnakumar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Undecided
|
Fernando Perez |
Bug Description
The current setup.py does not use setuptools if it is already installed. Repro steps:
1. Install setuptools or Distribute normally.
2. Download and extract IPython 0.10
3. Run "python setup.py install"
You will note that the .exe wrappers are not installed (they may be only installed via "easy_install ipython" I think).
Why is this important? Because binary package managers like PyPM [pypm.activesta
Attached is the patch that fixes it.
To post a comment you must log in.
Sorry, but this is actually by explicit design and will NEVER be changed. Setuptools causes enough other problems, that we never, ever use it by default.
If you want to run a setuptools-enabled installation, simply call
python setupegg.py install
instead, which we also provide to make this as easy as possible.
But we will NEVER use setuptools in the default setup.py, it simply has too many detrimental and unavoidable side-effects to be used by default (since simply importing it monkeypatches distutils, there's no way to avoid its problems once you've imported it).