-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
147 lines (131 loc) · 4 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
147
[project]
name = "pylanetary"
version = "0.1.0"
description = "data processing and modeling tools for ring, moon, and planet observations"
readme = "README.rst"
requires-python = ">=3.9"
license = {file = "licenses/LICENSE.txt"}
keywords = ["astronomy", "astrophysics", "astropy", "solar system", "planetary", "planet"]
authors = [
{name = "Ned Molter", email = "ned.molter@gmail.com" }
]
maintainers = [
{name = "Ned Molter", email = "ned.molter@gmail.com" }
]
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers = [
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
# Pick your license as you wish
"License :: OSI Approved :: GNU General Public License (GPL)",
# Specify the Python versions you support here. These classifiers are *not*
# checked by "pip install". See instead "python_requires" below.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"astropy>=4.3.0",
"astroquery<=0.4.7.dev8893,>=0.4.7.dev8479",
"beautifulsoup4>=4.11.1",
"cartopy",
"extension_helpers>=1.0.0",
"h5py>=3.0.0",
"image_registration>=0.2.8",
"matplotlib>=3.5.1",
"numpy>=1.21.6",
"photutils>=1.3.0",
"pytest>=6.2.4",
"pytest_astropy_header>=0.2.2",
"pyyaml",
"scikit-image>=0.18.3",
"scipy>=1.7.0",
"setuptools>=68.0.0",
"setuptools_scm>=7.0.5",
"sphinx_astropy>=1.7.0",
"sphinx-pyproject",
"nbsphinx",
]
[project.optional-dependencies]
test = ["pytest-astropy"]
docs = ["sphinx-astropy", "sphinx-pyproject"]
[project.urls]
"Source" = "https://github.com/emolter/pylanetary"
"Docs" = "https://pylanetary.readthedocs.io/en/latest/"
"Bug Reports" = "https://github.com/emolter/pylanetary/issues"
[tool.sphinx-pyproject]
github_username = "emolter"
github_repository = "pylanetary"
author = "Ned Molter"
project = "pylanetary"
language = "en"
extensions = [
"sphinx.ext.autodoc",
"nbsphinx",
"sphinx.ext.napoleon",
"sphinx.ext.autosectionlabel",
"sphinx_copybutton",
]
sphinxemoji_style = "twemoji"
html_theme = "furo"
html_static_path = ['_static']
html_logo = "logo.png"
html_theme_options = {"light_css_variables" = {"color-brand-primary" = "#002f87"}, "dark_css_variables" = {"color-brand-primary" = "#00a7e1"}}
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
[tool.setuptools]
packages = ["pylanetary"]
[tool.setuptools.package-data]
pylanetary = ["*.txt", "*.npy", "*.hdf5", "*.yaml"]
[tool.pytest.ini_options]
minversion = "2.0"
addopts = "--doctest-rst"
testpaths = ["pylanetary", "docs"]
astropy_header = "true"
doctest_plus = "enabled"
text_file_format = "rst"
[tool.coverage.run]
omit = [
"pylanetary/_astropy_init*",
"pylanetary/conftest.py",
"pylanetary/*setup_package*",
"pylanetary/tests/*",
"pylanetary/*/tests/*",
"pylanetary/extern/*",
"pylanetary/version*",
"*/pylanetary/_astropy_init*",
"*/pylanetary/conftest.py",
"*/pylanetary/*setup_package*",
"*/pylanetary/tests/*",
"*/pylanetary/*/tests/*",
"*/pylanetary/extern/*",
"*/pylanetary/version*",
]
[tool.coverage.report]
exclude_also = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain about packages we have installed
"except ImportError",
# Don't complain if tests don't hit assertions
"raise AssertionError",
"raise NotImplementedError",
# Don't complain about script hooks
"def main(.*):",
# Ignore branches that don't pertain to this version of Python
"pragma: py{ignore_python_version}",
# Don't complain about IPython completion helper
"def _ipython_key_completions_",
]
[build-system]
requires = ["setuptools",
"setuptools_scm",
"wheel",
"extension-helpers",
]
build-backend = 'setuptools.build_meta'