File: pyproject.toml

package info (click to toggle)
pyinstaller 6.18.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,824 kB
  • sloc: python: 41,828; ansic: 12,123; makefile: 171; sh: 131; xml: 19
file content (110 lines) | stat: -rw-r--r-- 4,160 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[project]
name = "pyinstaller"
dynamic = ["version"]
description = "PyInstaller bundles a Python application and all its dependencies into a single package."
readme = "README.rst"
requires-python = ">=3.8, <3.15"
license.text = "GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)"
authors = [
    { name = "Hartmut Goebel" },
    { name = "Giovanni Bajo" },
    { name = "David Vierra" },
    { name = "David Cortesi" },
    { name = "Martin Zibricky" },
]
keywords = [
    "packaging", "app", "apps", "bundle", "convert", "standalone", "executable",
]
dependencies = [
    "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 >= 2025.9",
    "importlib_metadata >= 4.6 ; python_version < '3.10'",
    "packaging >= 22.0",
]
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 :: 3.13",
    "Programming Language :: Python :: 3.14",
    "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",
]

[project.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"

[project.urls]
Homepage = "https://pyinstaller.org"
Documentation = "https://pyinstaller.org"
"Source Code" = "https://github.com/pyinstaller/pyinstaller"
"Release Notes" = "https://pyinstaller.org/en/stable/CHANGES.html"

[project.optional-dependencies]
# 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"]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch]
version.path = "PyInstaller/__init__.py"

[tool.hatch.build.targets.wheel]
packages = ["PyInstaller"]
hooks.custom.path = "hatch_build.py"
exclude = [
    "PyInstaller/bootloader/",
]
[tool.hatch.build.targets.sdist]
# hatchling defaults to ignoring gitignored files. Gitignored files we want
# should be listed here.
artifacts = [
    "tests/unit/test_modulegraph/testdata/syspath",
    "tests/unit/hookutils_files/hookutils_package/pyextension.pyd",
    "tests/unit/test_modulegraph/testpkg-setuptools-namespace/src/nspkg.egg-info",
    "tests/unit/Tree_files/pyextension.pyd",
    "PyInstaller/bootloader/Windows-32bit-intel",  # For MSYS2
]
# And tracked files we don't want in sdists go here.
exclude = [
    "PyInstaller/bootloader/Linux-*",
]