-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (74 loc) · 1.81 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
[project]
name = "lcdata"
version = "1.1.2"
description = "lcdata: Tools for manipulating large datasets of astronomical light curves"
authors = [
{name="Kyle Boone", email="[email protected]"},
{name="Konstantin Malanchev", email="[email protected]"}
]
license = {file = "LICENSE"}
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"astropy",
"h5py",
"numpy>=1.19.0",
"pyyaml",
"requests",
"tables",
"tqdm",
]
requires-python = ">=3.6"
[project.optional-dependencies]
download = [
"sncosmo",
'importlib_resources; python_version < "3.9"',
]
test = [
"pytest",
"coverage[toml]",
"pytest-cov",
]
docs = [
"numpy",
"sphinx",
"sphinx_rtd_theme",
"pillow",
"numpydoc",
]
[project.scripts]
lcdata_download_plasticc = "lcdata.scripts.lcdata_download_plasticc:main"
lcdata_download_ps1 = "lcdata.scripts.lcdata_download_ps1:main"
[project.urls]
"Source Code" = "https://github.com/lsstdesc/lcdata"
[tool.setuptools.package-data]
"lcdata.datasets" = [
"vav2020_table1_patched.tex.bz2",
]
[tool.coverage.run]
source = ["lcdata"]
omit = [
"lcdata/tests/*",
"lcdata/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
# 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}",
]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"