This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Distutils2 install command fail with python 2.5/2.7
Type: crash Stage:
Components: Distutils2 Versions: Python 2.7, Python 2.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: tarek Nosy List: Boris.FELD, eric.araujo, tarek, tarek-ziade
Priority: normal Keywords:

Created on 2011-01-27 14:35 by Boris.FELD, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg127192 - (view) Author: Boris FELD (Boris.FELD) * Date: 2011-01-27 14:35
Distutils2 install command fail with both python 2.5 and python 2.7 while it works with python 2.6.

$ python -V
python 2.5.4
$ python -m "distutils2.run" install
usage: run.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: run.py --help [cmd1 cmd2 ...]
   or: run.py --help-commands
   or: run.py cmd --help

error: Invalid command install
################################
$ python -V
Python 2.7.1
$ python -m "distutils2.run" install
usage: run.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: run.py --help [cmd1 cmd2 ...]
   or: run.py --help-commands
   or: run.py cmd --help

error: Invalid command install

It fail it a setup.cfg exists or not in the current directory.
msg127194 - (view) Author: Boris FELD (Boris.FELD) * Date: 2011-01-27 14:39
The new command for installation is install_dist, sorry.
History
Date User Action Args
2022-04-11 14:57:11adminsetgithub: 55235
2011-01-27 14:39:38Boris.FELDsetstatus: open -> closed

messages: + msg127194
resolution: not a bug
nosy: tarek-ziade, tarek, eric.araujo, Boris.FELD
2011-01-27 14:37:06Boris.FELDsetnosy: tarek-ziade, tarek, eric.araujo, Boris.FELD
type: crash
2011-01-27 14:35:34Boris.FELDcreate