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: Cannot specify compiler for 'install' on command line
Type: Stage:
Components: Distutils Versions: Python 2.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: andersjm, christian.heimes
Priority: normal Keywords:

Created on 2004-06-22 12:55 by andersjm, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg60517 - (view) Author: Anders J. Munch (andersjm) Date: 2004-06-22 12:55
Python 2.3.3 on W2K.

For a project with a C extension 
  python setup.py install
fails if VC6 is not installed, and there seems to be no
way to specify an alternate compiler on the command line.

  python setup.py build --compiler=bcpp

works on the same setup, but

  python setup.py install --compiler=bcpp

doesn't work because --compiler is not a legal option
for install.  install fails even following a succesful
build.

A workaround is to provide the compiler option in one
of the configuration files.
msg61336 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-20 19:14
Use "python setup.py build --compiler=bcpp install"
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40431
2008-01-20 19:14:55christian.heimessetstatus: open -> closed
resolution: not a bug
messages: + msg61336
nosy: + christian.heimes
2004-06-22 12:55:16andersjmcreate