-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
148 lines (136 loc) · 3.53 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
148
[project]
name = "astropop"
dynamic = ["version"]
authors = [
{name="Julio Campagnolo", email="[email protected]"},
]
license = {text = "BSD-3-Clause"}
description = "Astronomical Polarimetry and Photometry Pipeline"
readme = "README.rst"
requires-python = ">=3.8"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: C",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
]
keywords = [
"astronomy",
"astrophysics",
"science",
"units",
"data-reduction",
"photometry",
"polarimetry",
"astrometry"
]
dependencies = [
"astropy>=4.3",
"numpy>=1.17",
"scipy>=1.6",
"astroquery",
"scikit-image",
"scikit-learn",
"photutils>=1.7",
"pytz",
"pyyaml",
"astroscrappy",
"astroalign",
"tqdm",
"nest-asyncio",
"dbastable"
]
[project.optional-dependencies]
all = [
"matplotlib",
]
test = [
"pytest-astropy",
"pytest-remotedata",
"testfixtures",
"pytest-rerunfailures"
]
docs = [
"ipython",
"ipykernel",
"sphinx",
"sphinx-astropy",
"sphinx-book-theme",
"numpydoc",
"nbsphinx",
"pandoc"
]
[project.urls]
homepage = "https://github.com/sparc4-dev/astropop"
documentation = "https://astropop.readthedocs.io/en/latest/"
repository = "https://github.com/sparc4-dev/astropop"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE.rst"]
[tool.setuptools.packages.find]
include = ["astropop*"]
exclude = ["astropop._dev*", "tests*"]
namespaces = false
[tool.setuptools.package-data]
"astropop" = ["data/*", "data/*/*", "data/*/*/*", "data/*/*/*/*"]
"astropop.catalogs" = ["vizier_catalogs/*.yml"]
[build-system]
requires = ["setuptools",
"setuptools_scm",
"wheel"]
build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
write_to = "astropop/version.py"
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
[tool.pytest.ini_options]
minversion = 7.0
testpaths = ["tests", "docs"]
astropy_header = false
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "--color=yes --doctest-rst"
xfail_strict = true
qt_no_exception_capture = 1
filterwarnings = [
"ignore:numpy.ufunc size changed:RuntimeWarning",
"ignore:numpy.ndarray size changed:RuntimeWarning",
"ignore:Importing from numpy:DeprecationWarning:scipy",
"ignore:Using a non-tuple sequence:FutureWarning:scipy",
"ignore:Unknown config option:pytest.PytestConfigWarning",
"ignore:matplotlibrc text.usetex:UserWarning:matplotlib",
# Triggered by ProgressBar > ipykernel.iostream
"ignore:the imp module is deprecated:DeprecationWarning"
]
[tool.coverage.run]
omit = [
"astropop/_astropy_init*",
"astropop/conftest.py",
"astropop/*setup_package*",
"astropop/extern/*",
"astropop/version*",
"*/astropop/_astropy_init*",
"*/astropop/conftest.py",
"*/astropop/*setup_package*",
"*/astropop/extern/*",
"*/astropop/version*",
"tests",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError",
"raise AssertionError",
"raise NotImplementedError",
# only used when running inside a notebook
"if loop and loop.is_running():"
]
[tool.pycodestyle]
max-line-length = 120
[tool.pydocstyle]
convention = "numpy"