-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (114 loc) · 3.67 KB
/
pyproject.toml
File metadata and controls
134 lines (114 loc) · 3.67 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[build-system]
requires = [
"setuptools>=62.1",
"setuptools_scm[toml]>=8.0.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "sunkit_spex"
description = "A package for solar X-ray spectroscopy."
requires-python = ">=3.12"
readme = { file = "README.rst", content-type = "text/x-rst" }
license-files = ["licenses/LICENSE.rst"]
authors = [
{ name = "The SunPy Community", email = "sunpy@googlegroups.com" },
]
dependencies = [
"corner>=2.2",
"emcee>=3.1",
"matplotlib>=3.9",
"nestle>=0.2",
"numdifftools>=0.9.42",
"numpy>=1.26", # Note: keeping support for numpy 1.x for now
"parfive>=2.1",
"scipy>=1.14.1",
"sunpy>=7.0",
"xarray>=2023.12",
"gwcs>=0.26.0,<1.0.0", #until https://github.com/sunpy/ndcube/issues/913 is resolved
"ndcube>=2.3",
]
dynamic = ["version"]
[project.optional-dependencies]
tests = [
"pytest",
"pytest-doctestplus",
"pytest-cov",
"pytest-xdist",
]
docs = [
"sphinx",
"sphinx-automodapi",
"sphinx-changelog",
"sunpy-sphinx-theme",
"packaging",
"sphinx-changelog",
"sphinx-gallery",
"joblib", # for sphinx-gallery parallel
]
dev = [
"sunkit-spex[docs,tests]",
"tox"
]
[project.urls]
Homepage = "https://sunkit-spex.readthedocs.io"
"Source Code" = "https://github.com/sunpy/sunkit-spex"
Download = "https://pypi.org/project/sunkit-spex"
Documentation = "https://sunkit-spex.readthedocs.io/en/latest/"
Changelog = "https://sunkit-spex.readthedocs.io/en/latest/whatsnew/changelog.html"
"Issue Tracker" = "https://github.com/sunpy/sunkit-spex/issues"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
include = ["sunkit_spex*"]
exclude = ["sunkit_spex._dev*"]
[tool.setuptools_scm]
version_file = "sunkit_spex/_version.py"
[tool.gilesbot]
[tool.gilesbot.pull_requests]
enabled = true
[tool.gilesbot.towncrier_changelog]
enabled = true
verify_pr_number = true
changelog_skip_label = "No Changelog Entry Needed"
help_url = "https://github.com/sunpy/sunkit-spex/blob/main/changelog/README.rst"
changelog_missing_long = "There isn't a changelog file in this pull request. Please add a changelog file to the `changelog/` directory following the instructions in the changelog [README](https://github.com/sunpy/sunkit-spex/blob/main/changelog/README.rst)."
type_incorrect_long = "The changelog file you added is not one of the allowed types. Please use one of the types described in the changelog [README](https://github.com/sunpy/sunkit-spex/blob/main/changelog/README.rst)"
number_incorrect_long = "The number in the changelog file you added does not match the number of this pull request. Please rename the file."
# TODO: This should be in towncrier.toml but Giles currently only works looks in
# pyproject.toml we should move this back when it's fixed.
[tool.towncrier]
package = "sunkit_spex"
filename = "CHANGELOG.rst"
directory = "changelog/"
issue_format = "`#{issue} <https://github.com/sunpy/sunkit-spex/pull/{issue}>`__"
title_format = "{version} ({project_date})"
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "New Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "trivial"
name = "Internal Changes"
showcontent = true