[Patches] [ python-Patches-1459476 ] Install PKG-INFO with packages

SourceForge.net noreply at sourceforge.net
Mon Mar 27 19:40:52 CEST 2006


Patches item #1459476, was opened at 2006-03-27 17:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: None
Priority: 5
Submitted By: Phillip J. Eby (pje)
Assigned to: Guido van Rossum (gvanrossum)
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.


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

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