-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (57 loc) · 1.99 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (57 loc) · 1.99 KB
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
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "pyguitemplate"
description = "A template for building desktop GUIs in Python with Traits, TraitsUI, Matplotlib and Mayavi"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Brendan Griffen" }]
requires-python = ">=3.9"
dynamic = ["version"]
keywords = ["gui", "traits", "traitsui", "matplotlib", "mayavi", "template"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Visualization",
]
# The GUI toolkit is deliberately not a hard requirement: pick exactly one of
# the "qt" or "wx" extras below. Installing both leaves the choice of backend
# ambiguous (set the ETS_TOOLKIT environment variable to disambiguate).
dependencies = [
"traits>=6.2",
"traitsui>=7.2",
"pyface>=7.4",
"matplotlib>=3.5",
"numpy>=1.20",
]
[project.optional-dependencies]
qt = ["pyside6>=6.2"]
wx = ["wxPython>=4.1"]
# 3D scene support. Pulls in VTK, which is a large download and the most
# fragile dependency in the stack; the app runs without it.
3d = ["mayavi>=4.8"]
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.4"]
[project.scripts]
pyguitemplate = "pyguitemplate.__main__:main"
[project.urls]
Homepage = "https://github.com/bgriffen/PythonGUITemplate"
Issues = "https://github.com/bgriffen/PythonGUITemplate/issues"
[tool.setuptools]
packages = ["pyguitemplate", "pyguitemplate.panels"]
[tool.setuptools.dynamic]
version = { attr = "pyguitemplate.__version__" }
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.ruff]
line-length = 88
target-version = "py39"
# Ruff formats fenced code blocks in Markdown; the README's snippets are
# deliberately shown as users would type them.
extend-exclude = ["*.md"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]