Fixed the following issues:
pefile
with pyinstaller. This partially
undoes some changes in 3.2 in which the packaged pefiles were
removed to use the pypi version instead. The pypi version was
considerably slower in some applications, and still has a couple
of small issues on PY3. (#1920)
objcopy
to create a valid ELF file (#1812, #1831)
_FORTIFY_SOURCE
(#1820)
isatty()
for our dummy NullWriter (#1883)
pefile
, use package from pypi for windows
(#1357)
已知问题
Fixed the following issues:
--log-level=DEBUG
, a dependency graph-file is emitted in
the build-directory.
--hiddenimport
as an alias for
--hidden-import
.
st_flags
(#1650).
$XDG_CACHE_HOME/pyinstaller
而不是
$XDG_DATA_HOME
- the cache is moved automatically (#1118).
--key
option)
(#1663).
excludedimports
in some hook excluding the
named modules even if used elswhere (#1584, #1600).
ldconfig
in $PATH first (#1659)
_xmlplus
.
attrs
in hooks - they were not used anymore anyway.
add/del_import()
to accept arbitrary number of module
names.
copy_metadata()
.
已知问题
sys.getfilesystemencoding()
to return correct values (#446, #885).
zope.interface
, PEP302 (#502, #615, #665, #1346).
pkgutil.extend_path()
.
--key
to obfuscate the Python bytecode.
--exclude-module
to ignore a specific module or package.
--uac-admin
to request admin permissions
before starting the app.
--uac-uiaccess
allows an elevated
application to work with Remote Desktop.
--win-private-assemblies
bundled Shared Assemblies into the
application will be changed into Private Assemblies
--win-no-prefer-redirects
while searching for Assemblies
PyInstaller will prefer not to follow policies that redirect to
newer versions.
--osx-bundle-identifier
to set .app bundle identifier.
PYINSTALLER_CONFIG_DIR
.
LOADER:
...
printed to stderr.
sys.path
and bundled 3rd-party
libraries do not interfere with their other versions.
Analysis()
:
excludedimports
to exclude Python modules in
import hooks.
binaries
to bundle dynamic libraries in
.spec
file and in import hooks.
datas
to bundle additional data files in
.spec
file and in import hooks.
已知问题