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. Advertisements

  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. Advertisements

  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. Advertisements

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. Mike Orr

    Egg problem (~/.python-eggs)

    Mike Orr, Aug 31, 2006, in forum: Python
    Replies:
    3
    Views:
    563
    =?ISO-8859-1?Q?paul_k=F6lle?=
    Sep 1, 2006
  2. Catherine
    Replies:
    2
    Views:
    513
    John Nagle
    Oct 8, 2007
  3. dmitrey
    Replies:
    1
    Views:
    376
    Diez B. Roggisch
    Sep 18, 2008
  4. R. Bernstein
    Replies:
    3
    Views:
    613
    R. Bernstein
    Dec 21, 2008
  5. RVince
    Replies:
    2
    Views:
    268
    Sebastien Douche
    Aug 24, 2011
  6. merk
    Replies:
    0
    Views:
    241
  7. Rodrick Brown

    cafebabe python macosx easter egg?

    Rodrick Brown, Feb 11, 2013, in forum: Python
    Replies:
    0
    Views:
    171
    Rodrick Brown
    Feb 11, 2013
  8. Replies:
    0
    Views:
    190
Loading...