-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (70 loc) · 1.93 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (70 loc) · 1.93 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
[build-system]
requires = ["setuptools >= 61.0"] # PEP 621 compliant
build-backend = "setuptools.build_meta"
[project]
dynamic = ["version"]
name = "skyCatalogs"
description = "Writes, reads catalogs input to LSST DESC simulations"
readme = "README.md"
authors = [{ name = "Joanne Bogart", email = "jrb@slac.stanford.edu" }]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
]
keywords = ["desc", "python", "catalog", "simulation"]
dependencies = [
'astropy',
'dust_extinction',
'dustmaps',
'galsim',
'h5py',
'healpy',
'lsst-sphgeom',
'lsstdesc_diffsky',
'numpy',
'pandas',
'pyarrow',
'pyerfa',
'pyyaml',
]
requires-python = ">=3.9" # For setuptools >= 61.0 support
[tool.setuptools.dynamic]
version = {attr = "skycatalogs._version.__version__"}
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["./"]
namespaces = false
exclude = ["tests/*"]
[tool.setuptools.package-data]
"skycatalogs" = [
"data/row_groups/*.parquet",
"data/row_groups/*.yaml",
"data/gaia_dr2/*.dat",
"data/gaia_dr2/*.txt",
"data/ci_sample/*.parquet",
"data/ci_sample/README",
"data/ci_sample/*.yaml",
"data/ci_sample/repo/*.*",
"data/ci_sample/repo/refcats/*/*.fits"
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_also = [
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
]
ignore_errors = true
[tool.coverage.html]
directory = "coverage_html_report"