Files
Phoenix/pyproject.toml
Michał Górny 6bfdec45df Fix using setuptools.build_meta backend
Add the current directory path to `sys.path` explicitly, in order to fix
using the correct `setuptools.build_meta` backend.  The legacy backend
is only meant to be used implicitly for packages that have not been
ported to PEP 517 builds yet, and using it explicitly is invalid.
The correct solution here is to set the import path correctly.
2025-04-11 15:53:22 +02:00

84 lines
2.6 KiB
TOML

[project]
name = "wxPython"
description = "Cross platform GUI toolkit for Python, \"Phoenix\" version"
requires-python = ">= 3.9"
authors = [
{ name = "Robin Dunn", email = "robin@alldunn.com" },
{ name = "Scott Talbert", email = "swt@techie.net" },
]
keywords = [
"GUI",
"awesome",
"cross-platform",
"user-interface",
"wx",
"wxWidgets",
"wxWindows",
]
classifiers = [
"Development Status :: 6 - Mature",
"Environment :: MacOS X :: Cocoa",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications :: GTK",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Operating System :: MacOS",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: Microsoft :: Windows :: Windows 7",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"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 :: Implementation :: CPython",
"Topic :: Software Development :: User Interfaces",
]
dynamic = [
"dependencies",
"license",
"readme",
"version",
]
[project.scripts]
helpviewer = "wx.tools.helpviewer:main"
img2png = "wx.tools.img2png:main"
img2py = "wx.tools.img2py:main"
img2xpm = "wx.tools.img2xpm:main"
pycrust = "wx.py.PyCrust:main"
pyshell = "wx.py.PyShell:main"
pyslices = "wx.py.PySlices:main"
pyslicesshell = "wx.py.PySlicesShell:main"
pywxrc = "wx.tools.pywxrc:main"
wxdemo = "wx.tools.wxget_docs_demo:demo_main" # Get/Launch Demo
wxdocs = "wx.tools.wxget_docs_demo:docs_main" # Get/Launch Docs
wxget = "wx.tools.wxget:main" # New wx wget
[project.urls]
Documentation = "https://docs.wxpython.org/"
Download = "https://pypi.org/project/wxPython"
Homepage = "https://wxPython.org/"
Source = "https://github.com/wxWidgets/Phoenix"
Repository = "https://github.com/wxWidgets/Phoenix.git"
Issues = "https://github.com/wxWidgets/Phoenix/issues"
Discuss = "https://discuss.wxpython.org/"
[build-system]
requires = [
"setuptools>=70.1",
"cython == 3.0.10",
"requests >= 2.26.0",
"sip == 6.10.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
exclude = ["src", "buildtools*", "etgtools", "sphinxtools", "src", "unittests"]
namespaces = false