where is pkg_resources (setuptools) looking for entry_points.txt

Robert Kern robert.kern at gmail.com
Tue Oct 2 00:48:46 CEST 2007


seb.haase at gmail.com wrote:
> Hi,
> I'm trying to use an egg packages (pyOpenGL)  as a "normal
> package" (by unzipping the egg into a directory).
> Generally this seems to work fine, except one init-step is missing.

The EGG-INFO/ directory in the zipped egg needs to be renamed to something
appropriate, in this case:

  PyOpenGL-3.0.0a6-py2.5.egg-info/

The documentation for such things is here:

  http://peak.telecommunity.com/DevCenter/PkgResources
  http://peak.telecommunity.com/DevCenter/setuptools
  http://peak.telecommunity.com/DevCenter/EasyInstall

and the mailing list for setuptools questions is the Distutils-SIG:

  http://mail.python.org/mailman/listinfo/distutils-sig/

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list