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

Discussion in 'Python' started by yinglcs@gmail.com, Mar 12, 2007.

  1. Guest

    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, 2007
    #1
    1. Advertising

  2. 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
    Diez B. Roggisch, Mar 12, 2007
    #2
    1. Advertising

  3. Jorge Godoy Guest

    "" <> 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 <>
    Jorge Godoy, Mar 12, 2007
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Catherine
    Replies:
    2
    Views:
    304
    John Nagle
    Oct 8, 2007
  2. dmitrey
    Replies:
    1
    Views:
    278
    Diez B. Roggisch
    Sep 18, 2008
  3. R. Bernstein
    Replies:
    3
    Views:
    351
    R. Bernstein
    Dec 21, 2008
  4. RVince
    Replies:
    2
    Views:
    166
    Sebastien Douche
    Aug 24, 2011
  5. Replies:
    0
    Views:
    53
Loading...

Share This Page