[Patches] [ python-Patches-458898 ] --python-build for install
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 17 Jan 2002 09:49:21 -0800
Patches item #458898, was opened at 2001-09-05 13:58
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=458898&group_id=5470
Category: Distutils and setup.py
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
>Assigned to: Michael Hudson (mwh)
Summary: --python-build for install
Initial Comment:
Sometimes, being able to install python tools without
having python installed is desirable. When building an
RPM package of python, for example, one may want to
build/install IDLE as well, including it in a
subpackage. Indeed, we're doing this with a couple of
python tools here at Conectiva. Unfortunately, we have
a egg-chicken problem when doing this. You need python
installed in your system before you install tools. This
limitation may be observed in the file
Lib/distutils/sysconfig.py. It looks for Makefile in
the final installation directory, for example.
This patch adds a new option to dist-utils' install
command: --python-build. When used, python will look
for these files in the python build directory specified
trough the option.
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2002-01-17 09:49
Message:
Logged In: YES
user_id=6656
Hey! This patch is less than six months old. Virtually
fresh :|
Some comments: are you sure you can get away with only
honouring --python-build in install? I think build_scripts
needs it too (now, anyway, maybe not when you wrote the patch).
Also, the mod to install.finalize_options() is in the wrong
place wrt. the surrouding comments. Can you fix this?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=458898&group_id=5470