I don't know how the formatting in my previous post was messed up so
efficiently. All linebreaks disappeared.
Here it is again:
> "_mountzlib.py" should be contained the archive. The source is in the
> support/ directory.
I already found the source (that was the one I quoted above). However,
unless I misunderstand the terminology, it is not in the archive.
When I pack a simple program like this:
#### start #####
!/usr/bin/env python
import os
print("Hello PyInstaller!")
print("TERM = '%s'" % os.environ.get('TERM'))
print("_MEIPASS2 = '%s'" % os.environ.get('_MEIPASS2'))
#### end ####
as a -D (--onedir) application, the packed folder contains:
array.so
binascii.so
_bisect.so
bz2.so
_codecs_cn.so
_codecs_hk.so
_codecs_iso2022.so
_codecs_jp.so
_codecs_kr.so
_codecs_tw.so
_collections.so
cPickle.so
cStringIO.so
datetime.so
fcntl.so
_functools.so
_heapq.so
itertools.so
libcurses.a
libpthread.a
libpython2.6.a
libreadline.a
_locale.so
math.so
_multibytecodec.so
operator.so
_random.so
readline.so
select.so
strop.so
_struct.so
test
time.so
unicodedata.so
zlib.so
where "test" is the application.
No sign of "_mountzlib.py".
Nevertheless, both when packing as "--onedir" and "--onefile" the
output is:
##### output start #####
Hello PyInstaller!
TERM = 'vt100'
_MEIPASS2 = 'None'
##### output end #####
So it seems that _MEIPASS2 was correctly cleared in my program.
Am I misunderstanding what the test does?
/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.