Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > How to modify the source of a python file inside a python egg file?

Reply
Thread Tools

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

 
 
yinglcs@gmail.com
Guest
Posts: n/a
 
      03-12-2007
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.

 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      03-12-2007
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
 
Reply With Quote
 
 
 
 
Jorge Godoy
Guest
Posts: n/a
 
      03-12-2007
"" <> writes:

> 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 <>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Execute a method in a file in an egg RVince Python 2 08-24-2011 12:22 PM
linecache vs egg - reading line of a file in an egg R. Bernstein Python 3 12-21-2008 10:07 AM
how to do easy_install to source code, not egg? dmitrey Python 1 09-18-2008 09:08 AM
round-trip from egg to code and back to egg Catherine Python 2 10-08-2007 10:20 PM



Advertisments