> "_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 pythonimport 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.sobinascii.so_bisect.sobz2.so_codecs_cn.so_codecs_hk.so_codecs_iso2022.s_codecs_jp.so_codecs_kr.so_codecs_tw.so_collections.socPickle.socStringIO.sodatetime.sofcntl.so_functools.so_heapq.soitertools.solibcurses.alibpthread.alibpython2.6.alibreadline.a_locale.somath.so_multibytecodec.soperator.so_random.soreadline.soselect.sostrop.so_struct.sotesttime.sounicodedata.sozlib.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.