How to modify the source of a python file inside a python egg file?

Y

yinglcs

How to modify the source of a python file inside a python egg file?
I can see the file by unzipping it, but how can I package it back as a
python egg file after my modification.

Thank you.
 
D

Diez B. Roggisch

How to modify the source of a python file inside a python egg file?
I can see the file by unzipping it, but how can I package it back as a
python egg file after my modification.

So far I never tried this - but how about zipping it? Besides, you can
install eggs unzipped directly, try easy_install --help for options.

Diez
 
J

Jorge Godoy

How to modify the source of a python file inside a python egg file?
I can see the file by unzipping it, but how can I package it back as a
python egg file after my modification.

The correct way is to download the source, make your changes and rebuild the
egg.

Unzipping, changing and zipping it back also works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,184
Latest member
ZNOChrista

Latest Threads

Top