471,084 Members | 868 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,084 software developers and data experts.

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

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.

Mar 12 '07 #1
2 9030
yi*****@gmail.com wrote:
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
Mar 12 '07 #2
"yi*****@gmail.com" <yi*****@gmail.comwrites:
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.

--
Jorge Godoy <jg****@gmail.com>
Mar 12 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Chris McKeever | last post: by
5 posts views Thread by qwweeeit | last post: by
5 posts views Thread by Sandra-24 | last post: by
2 posts views Thread by Martin Mosbęk Christiansen | last post: by
6 posts views Thread by grbgooglefan | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.