Much easier to download and use `python setup.py develop`

Jeff

On Tue, Feb 03, 2009 at 08:03:43AM -0800, howa wrote:
> 
> Hello,
> 
> I want to install a plugin (e.g. TracAccountManager)  from source, as
> I need to modify the codes, so I can't use easy_install but I am a
> python newbie...
> 
> E.g.
> 
> Currently I already have: /usr/lib/python2.5/site-packages/
> TracAccountManager-0.2.1dev_r4679-py2.5.egg installed
> 
> Now I downloaded the latest TracAccountManager source from trunk,
> modified the codes, and then compiled:
> 
> python setup.py bdist_egg
> 
> >> generated TracAccountManager-0.2.1dev-py2.5.egg in dist folder (old 
> >> package is named: TracAccountManager-0.2.1dev_r4679-py2.5.egg )
> 
> Then I copied the new file to the plugin folder, /usr/lib/python2.5/
> site-packages/ (removed the old version first).
> 
> The problem is: I found the newly compiled plugin didn't work, so I
> rename the new plugin to use the old plugin name
> 
> e.g.
> 
> mv TracAccountManager-0.2.1dev-py2.5.egg
> TracAccountManager-0.2.1dev_r4679-py2.5.egg
> 
> Then everything is okay.
> 
> Why this is happening? Am I missing some important part?
> 
> Thanks.
> 
> > 

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

Reply via email to