python - an eggs...

bruce bedouglas at earthlink.net
Sun Nov 11 19:12:17 EST 2007


Hi Diez...

I've never used setuptools, (it's not on the box) and i don't have
easy_install tools installed...

But in looking at your output, I have some questions...
-The 1st, I'm assuming that easy_install works with python2.4.3?
-The 2nd, In the output, is see the durus egg... with the "durus" path being
relative to the egg... are the actual durus files in that dir??
-3rd question.. in searching the 'net, it appears that i have to download
setuptools in order to get easy_install. Am I missing something here, or is
this correct?

Thanks for your pointers on this!!




-----Original Message-----
From: python-list-bounces+bedouglas=earthlink.net at python.org
[mailto:python-list-bounces+bedouglas=earthlink.net at python.org]On Behalf
Of Diez B. Roggisch
Sent: Sunday, November 11, 2007 2:58 PM
To: python-list at python.org
Subject: Re: python - an eggs...


bruce schrieb:
> Hi Diez....
>
> Forgot to mention, that when I did an unzip of the egg file, and placed
the
> files in the ../python2.4/site-packages/durus dir, it still crashed...
>
> it's as if the egg file is needed...

I doubt that. And I get the feeling that you did not read anything
belonging to setuptools I pointed you to.

I just did this:

192:/tmp deets$ easy_install-2.5 -Z durus
Searching for durus
Reading http://www.python.org/pypi/durus/
Couldn't find index page for 'durus' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
Reading http://www.python.org/pypi/Durus/3.7
Reading http://www.mems-exchange.org/software/durus/
Best match: Durus 3.7
Downloading http://www.mems-exchange.org/software/durus/Durus-3.7.tar.gz
Processing Durus-3.7.tar.gz
Running Durus-3.7/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-WEWC6s/Durus-3.7/egg-dist-tmp--GlmRY
zip_safe flag not set; analyzing archive contents...
Adding Durus 3.7 to easy-install.pth file
Installing durus script to
/Library/Frameworks/Python.framework/Versions/2.5/bin

Installed
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg
Processing dependencies for durus


192:/tmp deets$ find Installed
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg
find: Installed: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/__init__.py
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/__init__.pyc
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/_persistent.py
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/_persistent.pyc
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/_persistent.so
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-package
s/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/btree.py
<snip/>


As you can see, ONE simple setuptools-command sufficed to install durus,
as unzipped egg so that you can see every single source file.


I don't know what durus is, how to use it and I don't care about it, so
I can't comment on your actual problems with durus itself.

Diez
--
http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list