-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
104 lines (93 loc) · 2.13 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
[build-system]
requires = ["setuptools>=45",
"setuptools_scm[toml]>=6.2",
"wheel"]
build-backend = 'setuptools.build_meta'
[project]
name = "padre_sharp"
description = "A Python package to process and analyze data from the PADRE SHARP instrument."
readme = "README.rst"
dynamic = ["version"]
authors = [{name = "Pascal Saint-Hilaire", email="[email protected]"}]
license = {file = "LICENSE.rst"}
requires-python = ">=3.10"
keywords = ["nasa mission", "space weather"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache 2.0",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
'astropy',
'sunpy',
'swxsoc @ git+https://github.com/swxsoc/swxsoc.git@main',
]
[project.optional-dependencies]
dev = [
'coverage',
'pytest',
'pytest-astropy',
'pytest-cov',
'black',
'flake8',
'coverage[toml]'
]
docs = [
'sphinx',
'sphinx-automodapi'
]
test = [
'pytest',
'pytest-astropy',
'pytest-cov',
'coverage[toml]'
]
style = [
'black',
'flake8'
]
[tool.setuptools.package-data]
"padre_sharp.data" = ["**"]
[tool.setuptools]
packages = ["padre_sharp"]
[tool.setuptools_scm]
write_to = "padre_sharp/_version.py"
[tool.pytest.ini_options]
testpaths = [
"padre_sharp/tests",
"docs"
]
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "--doctest-rst"
[tool.coverage.run]
omit = [
'padre_sharp/__init*',
'padre_sharp/conftest.py',
'padre_sharp/*setup_package*',
'padre_sharp/tests/*',
'padre_sharp/*/tests/*',
'padre_sharp/extern/*',
'padre_sharp/_version*',
'*/padre_sharp/__init*',
'*/padre_sharp/conftest.py',
'*/padre_sharp/*setup_package*',
'*/padre_sharp/tests/*',
'*/padre_sharp/*/tests/*',
'*/padre_sharp/extern/*',
'*/padre_sharp/_version*',
]
[tool.black]
line-length = 88
extend-exclude = '''
(
# Individual files to always exclude
^/padre_sharp/_version.py
)
'''