First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 108227
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Geoffrey Clements <geoff@electron.me.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
setuptools-0.6_alpha5.ebuild setuptools-0.6_alpha5.ebuild text/plain Geoffrey Clements 2005-10-05 16:42 0000 616 bytes Details
setuptools-0.6_alpha5.ebuild setuptools-0.6_alpha5.ebuild with src_unpack() removed text/plain Geoffrey Clements 2005-10-06 14:08 0000 585 bytes Details
setuptools-0.6_alpha5.ebuild setuptools-0.6_alpha5.ebuild with PYTHONPATH fixed text/plain Thomas Fullhart 2005-10-11 14:48 0000 846 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 108227 depends on: Show dependency tree
Show dependency graph
Bug 108227 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-05 16:41 0000
Hi!  
  
Please find attached setuptools-0.6_alpha5.ebuild. 
 
setuptools is a collection of enhancements to the Python distutils (for Python 
2.3 and up) that allow you to more easily build and distribute Python 
packages, especially ones that have dependencies on other packages. 
 
Packages built and distributed using setuptools look to the user like ordinary 
Python packages based on the distutils. Your users don't need to install or 
even know about setuptools in order to use them, and you don't have to include 
the entire setuptools package in your distributions. By including just a 
single bootstrap module (a 7K .py file), your package will automatically 
download and install setuptools if the user is building your package from 
source and doesn't have a suitable version already installed. 
  
I suggest dev-python/setuptools. 
  
Geoff

------- Comment #1 From Geoffrey Clements 2005-10-05 16:42:32 0000 -------
Created an attachment (id=69960) [edit]
setuptools-0.6_alpha5.ebuild

------- Comment #2 From Carsten Lohrke 2005-10-05 17:27:11 0000 -------
- the src_unpack function should be superfluous.

------- Comment #3 From Geoffrey Clements 2005-10-06 14:08:23 0000 -------
Created an attachment (id=70014) [edit]
setuptools-0.6_alpha5.ebuild with src_unpack() removed

------- Comment #4 From Gustavo Sverzut Barbieri 2005-10-11 09:59:35 0000 -------
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

------- Comment #5 From Thomas Fullhart 2005-10-11 14:48:38 0000 -------
Created an attachment (id=70419) [edit]
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.

------- Comment #6 From Rob Cakebread 2005-10-14 22:44:24 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug