[ python-Feature Requests-831643 ] Set option for subprocess in setup.py

SourceForge.net noreply at sourceforge.net
Tue May 11 09:42:16 EDT 2004


Feature Requests item #831643, was opened at 2003-10-28 10:43
Message generated for change (Comment added) made by pimbuur
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=831643&group_id=5470

Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Pim Buurman (pimbuur)
Assigned to: Nobody/Anonymous (nobody)
Summary: Set option for subprocess in setup.py

Initial Comment:
It is now only possible to prescribe options for
subprocesses (e.g. build_ext) in the file setup.cfg
But some of these options are obligatory to get the correct 
result for the action.
These options can be set in the file setup.cfg, but it is not
clear that these options should not be changed, nor is it
clear in the setup.py file that the setup.cfg is relevant.
I tend now to not to use the setup.cfg and
call 'python setup.py' (without arguments).
The setup.py will then fill in the necessary options in 
sys.argv .
It would be much nicer if these options could be explicitly 
given as defaults for the subprocess.

----------------------------------------------------------------------

>Comment By: Pim Buurman (pimbuur)
Date: 2004-05-11 15:42

Message:
Logged In: YES 
user_id=157121

The described behaviour is solved by using the 'options' option.
This option is not described, I found it by accident (somebody else used 
it).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=831643&group_id=5470



More information about the Python-bugs-list mailing list