-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (73 loc) · 3.2 KB
/
pyproject.toml
File metadata and controls
82 lines (73 loc) · 3.2 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[project]
name = "optrace"
dynamic = ["version"]
authors = [{name = "Damian Mendroch", email = "damian.mendroch@th-koeln.de"}]
maintainers = [{name = "Damian Mendroch", email = "damian.mendroch@th-koeln.de"}]
description = "An optics simulation package with sequential raytracing, image rendering and a GUI frontend"
keywords = ["simulation", "optics", "raytracing"]
readme = "ReadMe.md"
license = {text = "MIT License"}
requires-python = ">=3.11,<3.15"
dependencies = ["numpy", "chardet", "scipy", "opencv-python-headless", "pyqtdarktheme-fork", "pyside6",
"matplotlib", "tqdm", "pyvista", "pyvistaqt", "vtk", "traitsui"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries"
]
[project.urls]
Homepage = "https://drocheam.github.io/optrace"
Repository = "https://www.github.com/drocheam/optrace"
Documentation = "https://drocheam.github.io/optrace"
Changelog = "https://drocheam.github.io/optrace/development/changelog.html"
[project.optional-dependencies]
tests = ["pytest", "coverage", "colour-science", "pytest-timeout",
"pytest-random-order", "pytest-xvfb", "pytest-qt"]
docs = ["sphinx", "sphinxcontrib-bibtex", "shibuya", "sphinx-sitemap", "sphinx-mathjax-offline", "sphinx-notfound-page"]
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages.find.include = ["optrace*"]
include-package-data = false
dynamic = {version = {attr = "optrace.metadata.version"}}
package-data = {optrace = ["resources/*", "resources/images/*"]}
[tool.pytest.ini_options]
testpaths = ["tests"]
timeout = 360
timeout_method = "thread"
filterwarnings = ["ignore::optrace.OptraceWarning", "error::pytest.PytestUnhandledThreadExceptionWarning",
"error::pytest.PytestUnraisableExceptionWarning"]
addopts = "--random-order"
markers = [
"slow: tests slower than 10 seconds on my machine",
"os: marks test relevant for testing of different operating systems",
"install: marks package installation tests. Should include tests and docs dependencies.",
"gui1: only first batch of GUI tests (separated for lower RAM usage)",
"gui2: only second batch of GUI tests (separated for lower RAM usage)",
"gui3: only third batch of GUI tests (separated for lower RAM usage)"
]
[tool.gh_actions]
python = { "3.11" = "py311", "3.12" = "py312", "3.13" = "py313", "3.14" = "py314"}
[tool.coverage.run]
branch = true
patch = ["subprocess"]
source = ["optrace"]
parallel = true