代码拉取完成,页面将自动刷新
[metadata]
name = pyinstaller
version = attr: PyInstaller.__version__
url = https://www.pyinstaller.org/
project_urls =
Source = https://github.com/pyinstaller/pyinstaller
description = PyInstaller bundles a Python application and all its dependencies into a single package.
# Long description consists of README.rst only
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Hartmut Goebel, Giovanni Bajo, David Vierra, David Cortesi, Martin Zibricky
keywords =
packaging, app, apps, bundle, convert, standalone, executable
pyinstaller, cxfreeze, freeze, py2exe, py2app, bbfreeze
license = GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)
license_files = COPYING.txt
classifiers =
Development Status :: 6 - Mature
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Other Audience
Intended Audience :: System Administrators
License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Natural Language :: English
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: POSIX :: AIX
Operating System :: POSIX :: BSD
Operating System :: POSIX :: Linux
Operating System :: POSIX :: SunOS/Solaris
Programming Language :: C
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development
Topic :: Software Development :: Build Tools
Topic :: Software Development :: Interpreters
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Installation/Setup
Topic :: System :: Software Distribution
Topic :: Utilities
[options]
packages = find:
zip_safe = False
include_package_data = False
python_requires = >=3.8, <3.13
## IMPORTANT: Keep aligned with requirements.txt
install_requires =
setuptools >= 42.0.0
altgraph
pefile >= 2022.5.30 ; sys_platform == 'win32'
pywin32-ctypes >= 0.2.1 ; sys_platform == 'win32'
macholib >= 1.8 ; sys_platform == 'darwin'
pyinstaller-hooks-contrib >= 2024.3
importlib_metadata >= 4.6 ; python_version < "3.10"
packaging >= 22.0
[options.packages.find]
include =
PyInstaller
PyInstaller.*
[options.package_data]
PyInstaller =
# Include all bootloaders in wheels by default.
bootloader/*/*
# These files need to be explicitly included as well.
fake-modules/*.py
fake-modules/_pyi_rth_utils/*.py
hooks/rthooks.dat
lib/README.rst
[options.extras_require]
; for 3rd-party packages testing their hooks in their CI:
hook_testing =
pytest >= 2.7.3
execnet >= 1.5.0
psutil
; for CLI tab completion
completion =
argcomplete
[options.entry_points]
console_scripts =
pyinstaller = PyInstaller.__main__:_console_script_run
pyi-archive_viewer = PyInstaller.utils.cliutils.archive_viewer:run
pyi-bindepend = PyInstaller.utils.cliutils.bindepend:run
pyi-grab_version = PyInstaller.utils.cliutils.grab_version:run
pyi-makespec = PyInstaller.utils.cliutils.makespec:run
pyi-set_version = PyInstaller.utils.cliutils.set_version:run
[sdist]
# For release distribution generate .tar.gz archives only. These are
# about 10% smaller then .zip files.
formats=gztar
#[bdist_wheel]
# We MUST NOT create an universal wheel as PyInstaller has different
# dependencies per platforms and version and includes compiled binaries.
#universal = MUST NOT
[clean]
# Always fully clean. Otherwise, bootloaders for one platform remain in the
# build cache and end up blindly copied into wheels for another platform.
all=1
[catchlog]
# Restrict log-level to DEBUG because py.test cannot handle the volume of
# messages that TRACE produces.
log_level = DEBUG
[tool:pytest]
# Do not put timeout to all tests because it does not play nice with running
# tests in parallel. Rather put timeout to single tests: that are known to
# @pytest.mark.timeout(timeout=0)
# 'thread' timeout method adds more overhead but works in Travis containers.
# Add a global timeout to prevent a hung CI
timeout = 600
# Look for tests only in tests directories.
# Later we could change this to just "tests/**/test_*.py"
testpaths =
tests
python_files = "tests/functional/test_*.py" "tests/unit/test_*.py"
# Don't search test-data for test-cases
norecursedirs:
tests/functional/data
tests/functional/logs
tests/functional/modules
tests/functional/scripts
tests/functional/specs
tests/scripts
tests/unit/Tree_files
tests/unit/hookutils_files
tests/unit/test_modulegraph/testdata
tests/unit/test_modulegraph/testpkg-*
filterwarnings =
; in unit/test_altgraph/test_graph.py
ignore:Please use assertEqual instead.:DeprecationWarning
; tests/unit/test_modulegraph/test_modulegraph.py::TestFunctions::test_os_listdir
ignore:Use zipio.listdir instead of os_listdir:DeprecationWarning:
; Enable Python's improperly closed file handle detection...
error::ResourceWarning:
; ... and force pytest to raise an error if the ResourceWarning is emitted during test cleanup.
error::pytest.PytestUnraisableExceptionWarning:
# Display summary info for (s)skipped, (X)xpassed, (x)xfailed, (f)failed and (e)errored tests
# Skip doctest text files
# If you want to run just a subset of test use command
#
# pytest -k test_name
#
addopts = "-v" "-rsxXfE" "--doctest-glob="
markers =
darwin: only run on macOS
linux: only runs on GNU/Linux
win32: only runs on Windows
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。