Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (59 loc) · 1.71 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (59 loc) · 1.71 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "colorsynth"
authors = [
{name = "Roy T. Smart", email = "roytsmart@gmail.com"},
]
description = "A Python library for creating false-color images from arrays of spectral radiance"
readme = "README.md"
requires-python = ">=3.10"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
classifiers = [
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Astronomy",
]
dependencies = [
"numpy>=1.24",
"numba",
"astropy",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
]
doc = [
"pytest",
"matplotlib",
"graphviz",
"sphinx-autodoc-typehints",
"sphinxcontrib-bibtex",
"pydata-sphinx-theme",
"ipykernel",
"jupyter-sphinx",
"sphinx-favicon",
"scipy",
"astroscrappy",
]
[project.urls]
Homepage = "https://github.com/sun-data/colorsynth"
Documentation = "https://colorsynth.readthedocs.io/en/latest"
[tool.pyright]
include = ["colorsynth"]
# The tests are excluded because `astropy` does not ship a `py.typed` marker.
# Expressions such as `numpy.linspace(...) * astropy.units.nm`, which the tests
# use heavily, are therefore inferred as a union of unit types rather than as a
# `Quantity`, and silencing that requires more noise than the tests are worth.
exclude = ["**/_tests"]
typeCheckingMode = "standard"
[tool.setuptools_scm]
[tool.setuptools.package-data]
colorsynth = ["py.typed"]