-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gustavo Narea wrote:
> On Friday February 27, 2009 15:57:46 Tres Seaver wrote:
>> There is the bug:  the egg should not be called
>> 'repoze.who-friendlyform', because that looks to setuptools the the
>> 'friendlyform-1.0b2' version of the repoze.who package.
>>
>> The egg should be named 'repoze.who.friendlyform'.
> 
> Are you sure that's the problem? I can install repoze.what-pylons, for 
> example, with no problems:
> 
>> valencia ~: virtualenv --no-site-packages fakeenv
>> New python executable in fakeenv/bin/python
>> Installing setuptools............done.
>> valencia ~: source fakeenv/bin/activate
>> (fakeenv)valencia ~: easy_install repoze.what-pylons
>> Searching for repoze.what-pylons
>> Reading http://pypi.python.org/simple/repoze.what-pylons/
>> Reading http://code.gustavonarea.net/repoze.what-pylons/
>> Best match: repoze.what-pylons 1.0rc2
>> Downloading
>> http://pypi.python.org/packages/2.6/r/repoze.what-pylons/repoze.what_pylons
>> -1.0rc2-py2.6.egg#md5=fc7972047c61a4e128cc58bece304021 Processing

Note that the downloaded file has an underscore, rather than a hyphen.

>> repoze.what_pylons-1.0rc2-py2.6.egg
>> creating
>> /home/gustavo/fakeenv/lib/python2.6/site-packages/repoze.what_pylons-1.0rc2
>> -py2.6.egg Extracting repoze.what_pylons-1.0rc2-py2.6.egg to
>> /home/gustavo/fakeenv/lib/python2.6/site-packages Adding repoze.what-pylons
>> 1.0rc2 to easy-install.pth file
>>
>> Installed
>> /home/gustavo/fakeenv/lib/python2.6/site-packages/repoze.what_pylons-1.0rc2
>> -py2.6.egg 
>> Processing dependencies for repoze.what-pylons
>> [[[SNIP]]]
>> Finished processing dependencies for repoze.what-pylons
> 
> And it requires repoze.what, which pulls repoze.who.
> 
> I don't know how to solve this yet, though. But I think the bug is somewhere 
> else.
> 
> If I get stuck trying to find the root problem, I'll end up renaming the 
> distribution name.
> 
> Just a wild guess: Can't this be specific to repoze.who? I'm getting the same 
> bug with repoze.who-testutil, but not with repoze.what-pylons or repoze.what-
> quickstart.

I am *confident* that setuptools interprets hyphens in package names as
dividing the "base" name of the distribution from the "version".


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJqA0Y+gerLs4ltQ4RAtIfAJ9fMo+eP95ek334zsxyYgSPK+/3cwCghYbn
HYmEhjcQ4d+dJ87X2eE9IO0=
=n1ps
-----END PGP SIGNATURE-----
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to