python - an eggs...

Diez B. Roggisch deets at nospam.web.de
Sun Nov 11 17:58:09 EST 2007


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-packages/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-packages/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-packages/Durus-3.7-py2.5-macosx-10.3-fat.egg
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/__init__.py
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/__init__.pyc
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/_persistent.py
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/_persistent.pyc
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Durus-3.7-py2.5-macosx-10.3-fat.egg/durus/_persistent.so
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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



More information about the Python-list mailing list