py2app question: Resources/Python -> Resources/lib/python2.4

Discussion in 'Python' started by Russell E. Owen, Sep 8, 2006.

  1. I was using an older version of py2app to distribute an application.
    This placed the python library code in TUI.app/Contents/Resources/Python

    I just upgraded to py2app 0.3.5 and now I find the same stuff is being
    put in TUI.app/Contents/Resources/lib/python2.4

    This change breaks my code because resource files need to go in the same
    location, though I can certainly modify the code that copies the
    resource files.

    My main question is: am I seeing this change because I'm doing something
    wrong (in which case I'd like to fix it)? Or is it just the new way to
    do things (in which case I can modify my resource copying code)?

    If it's the new way to do things, is there a recommended way to find
    this directory automatically (or copy directory trees of files into it
    automatically without knowing its name) -- to insulate myself against
    future such changes?

    -- Russell
     
    Russell E. Owen, Sep 8, 2006
    #1
    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. Xavier
    Replies:
    0
    Views:
    428
    Xavier
    Aug 6, 2003
  2. Skip Montanaro
    Replies:
    1
    Views:
    442
    Thomas Heller
    Aug 7, 2003
  3. snacktime
    Replies:
    13
    Views:
    570
    Dan Sommers
    Feb 22, 2005
  4. Uwe Mayer

    changing from python2.3 to python2.4

    Uwe Mayer, Apr 8, 2005, in forum: Python
    Replies:
    1
    Views:
    308
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Apr 9, 2005
  5. Peter Otten
    Replies:
    0
    Views:
    51
    Peter Otten
    Mar 20, 2014
Loading...

Share This Page