> Sounds reasonable.

Ok. If am testing it on AIX and Mac and it seems to work. Running the
test suite now.

> > +MEIPASS2name = '_MEIPASS2'
>
> Please do not do this, it's only half-way.
>
> If you want to do this_
> - please use another change-set

I can send in two separate patches.
- One that changes from string literals to vars
- Another that adds the "putenv" code.

> - do it for "_MEIPASS", too

Agreed. I guess you mean something like:

  MEIPASS = "_MEIPASS"
  MEIPASS2 = "_MEIPASS2"
  setattr(sys, MEIPASS, os.environ[MEIPASS2])

> - use another var name: `MEIPASS2` would be enough, the postfix `name`
> is dull IMHO.

Ok.

/Martin

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to