-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
112 lines (101 loc) · 2.32 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
[build-system]
requires = ["setuptools>=45",
"setuptools_scm[toml]>=6.2",
"wheel"]
build-backend = 'setuptools.build_meta'
[project]
name = "padre_meddea"
description = "A Python package to process and analyze data from the PADRE MEDDEA instrument."
readme = "README.rst"
dynamic = ["version"]
authors = [{name = "Steven Christe", 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==6.1.*',
'numpy==1.23.*',
'sunpy==6.0.*',
'roentgen',
'specutils==1.15.*',
'ccsdspy==1.3.*',
'matplotlib==3.9.*',
'swxsoc @ git+https://github.com/swxsoc/swxsoc.git@main',
'gitpython==3.1.*',
]
[project.optional-dependencies]
dev = [
'coverage>=5.0.3',
'pytest',
'pytest-astropy',
'pytest-cov',
'black',
'flake8',
'coverage[toml]'
]
docs = [
'sphinx',
'sphinx-automodapi',
'matplotlib',
'sphinx-copybutton',
]
test = [
'pytest',
'pytest-astropy',
'pytest-cov',
'coverage[toml]'
]
style = [
'black',
'flake8'
]
[tool.setuptools.package-data]
"padre_meddea.data" = ["**"]
[tool.setuptools]
packages = ["padre_meddea"]
[tool.setuptools_scm]
write_to = "padre_meddea/_version.py"
[tool.pytest.ini_options]
testpaths = [
"padre_meddea/tests",
"docs"
]
doctest_plus = "enabled"
text_file_format = "rst"
addopts = "--doctest-rst"
[tool.coverage.run]
omit = [
'padre_meddea/__init*',
'padre_meddea/conftest.py',
'padre_meddea/*setup_package*',
'padre_meddea/tests/*',
'padre_meddea/*/tests/*',
'padre_meddea/extern/*',
'padre_meddea/version*',
'*/padre_meddea/__init*',
'*/padre_meddea/conftest.py',
'*/padre_meddea/*setup_package*',
'*/padre_meddea/tests/*',
'*/padre_meddea/*/tests/*',
'*/padre_meddea/extern/*',
'*/padre_meddea/version*',
]
[tool.black]
line-length = 88
force-exclude = '''
(
# Individual files to always exclude
^/padre_meddea/_version.py
)
'''