[Patches] [ python-Patches-1459476 ] Install PKG-INFO with packages
SourceForge.net
noreply at sourceforge.net
Mon Mar 27 23:39:32 CEST 2006
Patches item #1459476, was opened at 2006-03-27 12:40
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1459476&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils and setup.py
Group: Python 2.5
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Phillip J. Eby (pje)
>Assigned to: Phillip J. Eby (pje)
Summary: Install PKG-INFO with packages
Initial Comment:
This patch adds an 'install_egg_info' command to the
distutils install process, that writes the standard
PKG-INFO metadata to a file in the directory where the
associated modules are being installed. The filename
is based on setuptools' conventions for reading and
writing such files, so that setuptools will be able to
recognize distutils-installed packages as being
present, and not attempt to reinstall them if they are
sufficient to meet a requested dependency.
As currently implemented, Python's main setup.py causes
a Python-2.5a0-py2.5.egg-info to be installed in
lib-dynload. It would probably be best if it also
created similar files for ElementTree, ctypes, and any
other packages incorporated into 2.4 or 2.5 that were
separately distributed for Python 2.3. But that
feature doesn't have to be in alpha 1.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2006-03-27 16:39
Message:
Logged In: YES
user_id=6380
Looks fine to me. Just trim the trailing blank lines and
add a module-level docstring (look at the other install_*.py
files for examples).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1459476&group_id=5470
More information about the Patches
mailing list