Summary: | setuptools-0.6_alpha5.ebuild (New Package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Geoffrey Clements <geoff> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | kayos |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
setuptools-0.6_alpha5.ebuild
setuptools-0.6_alpha5.ebuild with src_unpack() removed setuptools-0.6_alpha5.ebuild with PYTHONPATH fixed |
Description
Geoffrey Clements
2005-10-05 16:41:51 UTC
Created attachment 69960 [details]
setuptools-0.6_alpha5.ebuild
- the src_unpack function should be superfluous. Created attachment 70014 [details]
setuptools-0.6_alpha5.ebuild with src_unpack() removed
It's broken: it installs under /usr/lib/python2.3/site-packages/setuptools-0.6a5-py2.3.egg/ and easy_install doesn't works, since pkg_resources.py is there and it is not in PYTHONPATH Created attachment 70419 [details]
setuptools-0.6_alpha5.ebuild with PYTHONPATH fixed
This version creates a .pth file in /usr/lib/python2.x/site-packages to add the
setuptools .egg directory to the PYTHONPATH.
This is a similar approach to what dev-python/numeric does, so there is a
precedent.
setuptools has to be installed into a .egg directory in site-packages because
it's inherent to how it works.
Added to CVS. Thanks Geoffry and Thomas. I couldn't get easy_install to work with amd64 due to a bug in Python's ziplib unless using python-2.4.2, so I upped the deps for now. |