-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
146 lines (122 loc) · 3.01 KB
/
pyproject.toml
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
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = ["setuptools>=64", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "radiotools"
description = "Tools for radio astronomy."
readme = "README.rst"
authors = [
{ name = "radionets-project developers" }
]
license = { text = "MIT" }
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
"Development Status :: 3 - Alpha",
]
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = [
"astropy >=6.1.0",
"matplotlib ~=3.0",
"numpy ~=1.16",
"pandas >=2.0",
"rich >=13.0",
"casatools ~=6.6",
"requests",
"bs4",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"setuptools_scm[toml]",
"towncrier"
]
all = [
"radiotools"
]
docs = [
"radiotools[all]",
"graphviz",
"ipython",
"jupyter",
"nbsphinx",
"notebook",
"numpydoc",
"pandas",
"pydata_sphinx_theme",
"pypandoc",
"sphinx",
"sphinx-design",
"sphinx_automodapi",
"sphinxcontrib-bibtex",
"tomli; python_version < '3.11'",
"toml"
]
[project.urls]
repository = "https://github.com/radionets-project/radiotools"
[project.scripts]
radiotools-info = "radiotools.info:main"
radiotools-vis = "radiotools.cli_tools.vis:main"
[tool.setuptools_scm]
write_to = "radiotools/_version.py"
[tool.setuptools.packages.find]
where = ["."]
[tool.ruff]
target-version = "py310"
line-length = 88
[tool.ruff.lint]
extend-select = [
"I", # isort
]
ignore = []
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false
[tool.ruff.lint.isort]
known-first-party = [
"radiotools",
]
[tool.coverage.run]
branch = true
omit = [
"radiotools/_version.py"
]
[tool.towncrier]
package = "radiotools"
directory = "docs/changes"
filename = "CHANGES.rst"
template = "docs/changes/template.rst"
# let towncrier create proper links to the merged PR
issue_format = "`#{issue} <https://github.com/radionets-project/radiotools/pull/{issue}>`__"
[tool.towncrier.fragment.feature]
name = "New Features"
showcontent = true
[tool.towncrier.fragment.bugfix]
name = "Bug Fixes"
showcontent = true
[tool.towncrier.fragment.api]
name = "API Changes"
showcontent = true
[tool.towncrier.fragment.optimization]
name = "Refactoring and Optimization"
showcontent = true
[tool.towncrier.fragment.maintenance]
name = "Maintenance"
showcontent = true
[[tool.towncrier.section]]
name = ""
path = ""