Hello,

Problem figured out: I opened an issue on Distribute (the setuptools fork):

http://bitbucket.org/tarek/distribute/issue/99/easy_install-uses-setupcfg-if-in-working

Regards,
Alex

2009/12/2 Alexandre Conrad <alexandre.con...@gmail.com>:
> Ok, I have my finger on the problem. From a virtualenv at the root of
> my pylons project (where "development.ini" lives):
>
> --------------------------------------
> a...@alex-laptop:~/hg/papyrus/papyrus$ virtualenv --no-site-package foo
> New python executable in foo/bin/python
> Installing setuptools............done.
> a...@alex-laptop:~/hg/papyrus/papyrus$ source foo/bin/activate
> (foo)a...@alex-laptop:~/hg/papyrus/papyrus$ easy_install SQLAlchemy
> Searching for SQLAlchemy
> Reading http://www.pylonshq.com/download/
> Best match: SQLAlchemy 0.5.2
> Downloading http://www.pylonshq.com/download/0.9.7/SQLAlchemy-0.5.2.tar.gz
> Processing SQLAlchemy-0.5.2.tar.gz
> Running SQLAlchemy-0.5.2/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-IVPutW/SQLAlchemy-0.5.2/egg-dist-tmp-JR8Ktt
> no previously-included directories found matching 'doc/build/output'
> zip_safe flag not set; analyzing archive contents...
> sqlalchemy.databases.mysql: module MAY be using inspect.stack
> Adding SQLAlchemy 0.5.2 to easy-install.pth file
>
> Installed 
> /home/alex/hg/papyrus/papyrus/foo/lib/python2.6/site-packages/SQLAlchemy-0.5.2-py2.6.egg
> Processing dependencies for SQLAlchemy
> Finished processing dependencies for SQLAlchemy
> --------------------------------------
>
> So, the download URL seems to be provided by pylons. Huh?
>
> Now, from a virtualenv outside my project:
>
> --------------------------------------
> a...@alex-laptop:~$ virtualenv --no-site-package foo
> New python executable in foo/bin/python
> Installing setuptools............done.
> a...@alex-laptop:~$ source foo/bin/activate
> (foo)a...@alex-laptop:~$ easy_install SQLAlchemy
> Searching for SQLAlchemy
> Reading http://pypi.python.org/simple/SQLAlchemy/
> Reading http://www.sqlalchemy.org
> Best match: SQLAlchemy 0.5.6
> Downloading 
> http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.6.tar.gz#md5=65c6d2007969bf5d70307afc65687391
> Processing SQLAlchemy-0.5.6.tar.gz
> Running SQLAlchemy-0.5.6/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-nrpteJ/SQLAlchemy-0.5.6/egg-dist-tmp-NZ5I2H
> no previously-included directories found matching 'doc/build/output'
> zip_safe flag not set; analyzing archive contents...
> sqlalchemy.test.orm: module MAY be using inspect.getframeinfo
> sqlalchemy.test.orm: module MAY be using inspect.stack
> sqlalchemy.databases.mysql: module MAY be using inspect.stack
> Adding SQLAlchemy 0.5.6 to easy-install.pth file
>
> Installed 
> /home/alex/foo/lib/python2.6/site-packages/SQLAlchemy-0.5.6-py2.6.egg
> Processing dependencies for SQLAlchemy
> Finished processing dependencies for SQLAlchemy
> --------------------------------------
>
> That is correct. Now why is easy_install using pylons as the search
> path for SQLAlchemy? I guess that's an easy_install related problem.
>
> I'll ask elsewhere. Although if someone reading this knows, I'll be
> happy to know why.
>
> Regards,
> Alex
>
>
> 2009/12/1 Mariano Mara <mariano.m...@gmail.com>:
>> Excerpts from Tefnet Developers - Tomasz Jezierski's message of Tue Dec 01 
>> 19:06:31 -0300 2009:
>>> Dnia 2009-12-01, Wt o godzinie 18:45 +0100, Alexandre Conrad pisze:
>>> > Hey there,
>>> >
>>> > just wondering:
>>> >
>>> >     easy_install SQLAlchemy
>>> >
>>> > downloads and installs version 0.5.2. Shouldn't it be 0.5.6?
>>> >
>>> # easy_install SQLAlchemy
>>> Searching for SQLAlchemy
>>> Reading http://pypi.python.org/simple/SQLAlchemy/
>>> Reading http://www.sqlalchemy.org
>>> Best match: SQLAlchemy 0.5.6
>>> Downloading
>>> http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.6.tar.gz#md5=
>>> 65c6d2007969bf5d70307afc65687391
>>> Processing SQLAlchemy-0.5.6.tar.gz
>>> Running SQLAlchemy-0.5.6/setup.py -q bdist_egg
>>> --dist-dir /tmp/easy_install-biunCq/SQLAlchemy-0.5.6/egg-dist-tmp-S--F9w
>>> no previously-included directories found matching 'doc/build/output'
>>> zip_safe flag not set; analyzing archive contents...
>>> sqlalchemy.databases.mysql: module MAY be using inspect.stack
>>> sqlalchemy.test.orm: module MAY be using inspect.getframeinfo
>>> sqlalchemy.test.orm: module MAY be using inspect.stack
>>> Adding SQLAlchemy 0.5.6 to easy-install.pth file
>>>
>>> Installed /usr/lib/python2.5/site-packages/SQLAlchemy-0.5.6-py2.5.egg
>>> Processing dependencies for SQLAlchemy
>>> Finished processing dependencies for SQLAlchemy
>>>
>> It seems it really depends on something related with
>> easy_install (I'm not sure what):
>>  I run the process for SqlAlchemy from a virtual environ using python
>> 2.6 and it tried to install 0.5.6
>>  I then deactivate the virtualenv and tried from the easy_install from
>> distribution (Ubuntu 9.04, python2.6) and told me the best match was
>> 0.5.3
>>
>> BTW, you can always do
>>  easy_install "SqlAlchemy==0.5.6"
>>
>> Mariano
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups 
>> "sqlalchemy" group.
>> To post to this group, send email to sqlalch...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> sqlalchemy+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/sqlalchemy?hl=en.
>>
>>
>>
>

--

You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.


Reply via email to