Skip to content Skip to sidebar Skip to footer

How To Update A File In Python Egg

We are using trac. In our setup we have a problem that is solved in repository. So I got the fixed file commit_update.py from the repository and I need to place it into Trac-0.12-p

Solution 1:

Just build a new egg (with python setup.py bdist_egg), reinstall the egg and restart your trac instance.

Solution 2:

I just unzip the egg file using

sudo unzip django_tastypie-0.9.11-py2.7.egg

This created a new folder in same path called tastypie, then, I changed files into it, and after that, I removed the egg file and keep using only the new folder.

Post a Comment for "How To Update A File In Python Egg"