Jeff Johnson wrote:

> I have two different eggs under my site-packages folder 0.8.2 and 0.8.3. 
>   I also have dabo unzipped to a folder \pythonprojects\dabo.  I ran the 
> python setup.py install and it appeared to create the 0.8.3 egg.
> 
> Since I want to understand where the actual programs are:

 > Is the dabo under the egg folder the one that is used when you do an

> import dabo?


Run the python interpreter and issue the following:
"""
import dabo
print dabo.__file__
"""

That will tell you which of your "installation" it is importing. I 
believe that an egg will trump other entries in site-packages, but I 
could be wrong. The egg system also seems to know which is the latest 
version.


> How do I get rid of 0.8.2 egg?


rm -rf /usr/lib/python/site-packages/Dabo*0.8.2*.egg


> If I put a dabo.pth in the site-packages folder pointing to 
> \pythonprojects\dabo will it use that dabo?


In my experience, the egg will be the one imported. So remove the egg if 
you want to import the one with dabo.pth.


> It appears that the web update updates the egg.  Is that correct?

Web update will update your currently running dabo wherever it happens 
to live, as long as it has permissions to it of course.


Paul

-- 
http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to