-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (61 loc) · 2.05 KB
/
pyproject.toml
File metadata and controls
73 lines (61 loc) · 2.05 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
# pyproject.toml is the newer method for module distribution
# setup.py is not needed, you simply do python -m build
#
# To distribute:
# =============
# rm dist/*; python -m build; python -m twine upload dist/*
[build-system]
requires = ["setuptools>=61", "setuptools_scm>=7", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "raytracing"
#
# Version __version__ will be loaded by setuptools_scm using a git tag
# This requires a git tag in the form of v.1.3.13
dynamic = ["version"]
description = "Simple optical ray tracing library to validate the design of an optical system."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "Daniel Cote", email = "dccote@cervo.ulaval.ca" }
]
urls = { Homepage = "https://github.com/DCC-Lab/RayTracing" }
keywords = [
"optics", "optical", "lens", "ray tracing", "matrix", "matrices", "aperture", "field stop",
"monte carlo", "design", "raytracing", "zemax", "chromatic aberrations"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Education",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent"
]
dependencies = [
"matplotlib>=3.7",
"numpy",
"pygments",
]
[project.optional-dependencies]
gui = ["mytk"]
[tool.setuptools_scm]
version_scheme = "post-release"
# This is apparently needed because ptyhon -m build loses the .git tags
write_to = "raytracing/_version.py"
[tool.setuptools]
package-dir = {"" = "."}
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["raytracing*"]
[tool.setuptools.package-data]
raytracing = ["*.png"]