Bug#372577: python-json: py2.3.egg-info directory is installed into /var/lib/python-support/python2.4

2006-06-13 Thread Max Bowsher
Gustavo Noronha Silva wrote:
 Hey Max!
 
 Em Sáb, 2006-06-10 às 06:23 -0500, Max Bowsher escreveu:
 Whilst pkg_resources.require() tolerates this, and still finds the
 json-py egg, setuptools' easy_install does *not* find it, because it
 performs filtering based on Python version declared in egg filenames.

 The elementtree, kid, and python-cherrypy packages rename the egg-info
 directory to remove the -py2.X tag, avoiding this problem.
 
 Yeah, I made that for python-cherrypy, but I didn't knew the
 implications of leaving it as is. Doing what python-cherrypy does is
 enough, then? Not having the version in the name is enough for it to
 find?

Yes, what python-cherrypy does works well. easy_install then happily
reads the renamed .egg-info directory.

Max.



signature.asc
Description: OpenPGP digital signature


Bug#372577: python-json: py2.3.egg-info directory is installed into /var/lib/python-support/python2.4

2006-06-10 Thread Max Bowsher
Package: python-json
Version: 3.4-1
Severity: normal

Installing python-json causes the directory
/var/lib/python-support/python2.4/json_py-3.4-py2.3.egg-info to be
created.  Note the mismatch between python versions in the containing
directory, and the egg-info name.

This creates issues for the use of json-py under Python 2.4.

Whilst pkg_resources.require() tolerates this, and still finds the
json-py egg, setuptools' easy_install does *not* find it, because it
performs filtering based on Python version declared in egg filenames.

The elementtree, kid, and python-cherrypy packages rename the egg-info
directory to remove the -py2.X tag, avoiding this problem.

-- System Information:
ii  python-support0.2.2  automated rebuilding support for p


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#372577: python-json: py2.3.egg-info directory is installed into /var/lib/python-support/python2.4

2006-06-10 Thread Gustavo Noronha Silva
Hey Max!

Em Sáb, 2006-06-10 às 06:23 -0500, Max Bowsher escreveu:
 Whilst pkg_resources.require() tolerates this, and still finds the
 json-py egg, setuptools' easy_install does *not* find it, because it
 performs filtering based on Python version declared in egg filenames.
 
 The elementtree, kid, and python-cherrypy packages rename the egg-info
 directory to remove the -py2.X tag, avoiding this problem.

Yeah, I made that for python-cherrypy, but I didn't knew the
implications of leaving it as is. Doing what python-cherrypy does is
enough, then? Not having the version in the name is enough for it to
find?

Thanks,

-- 
Gustavo Noronha Silva [EMAIL PROTECTED]
http://people.debian.org/~kov/


signature.asc
Description: Esta é uma parte de mensagem	assinada digitalmente