-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (123 loc) · 3.16 KB
/
pyproject.toml
File metadata and controls
133 lines (123 loc) · 3.16 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
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
[build-system]
requires = [
"setuptools>=64",
"setuptools-scm>=8.0",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "compas_python_utils" # PyPI name
dynamic = ["version"]
requires-python = ">=3.8"
description = "COMPAS Python Utilities"
readme = "README.md"
authors = [
{name = "COMPAS Team", email = "compas-dev@googlegroups.com"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
dependencies = [
"numpy>=1.16",
"h5py",
"argparse",
"stroopwafel",
"pytest>=3.6",
"pre-commit",
"flake8",
"black==22.10.0",
"isort",
"matplotlib>=3.3.2",
"pandas",
"astropy>=4.0",
"scipy>=1.5.0",
"latex",
"PyYAML",
"tqdm",
"corner"
]
[project.optional-dependencies]
docs = [
"sphinx>=7.0.1",
"numpydoc",
"nbsphinx",
"sphinx_rtd_theme>=1.2.2",
"sphinx-tabs",
"sphinx-argparse",
"sphinx-math-dollar>=1.2",
"sphinxcontrib.bibtex",
"linuxdoc",
"ipython",
"readthedocs-sphinx-search>=0.1.1b",
"sphinx-togglebutton",
"linuxdoc>=20210324"
]
dev = [
"pytest-cov",
"pre-commit",
"flake8",
"black==22.10.0",
"isort",
"coverage-badge",
"deepdiff",
"jupytext",
"jupyter-autotime",
"memory_profiler",
"nbconvert",
"ipykernel"
]
gpu = ["cupy"]
[tool.setuptools_scm]
version_file = "src/compas_python_utils/_version.py" # Adjust path as necessary
[tool.semantic_release]
version_variable = "src/compas_python_utils/_version.py:__version__"
version_source = "commit"
commit_version_number = true
commit_subject = "chore(release): {version}"
commit_message = "chore(release): {version}"
tag_format = "v{version}"
no_local_version = true
[project.urls]
"Homepage" = "https://github.com/TEAMCompas/COMPAS"
"Bug Reports" = "https://github.com/TEAMCompas/COMPAS/issues"
"Source" = "https://github.com/TEAMCompas/COMPAS"
[project.scripts]
h5view = "compas_python_utils.h5view:main"
h5copy = "compas_python_utils.h5copy:main"
h5sample = "compas_python_utils.h5sample:main"
plot_detailed_evolution = "compas_python_utils.detailed_evolution_plotter.plot_detailed_evolution:main"
run_submit = "compas_python_utils.preprocessing.runSubmit:main"
sample_stroopwafel = "compas_python_utils.preprocessing.stroopwafelInterface:main"
sample_moe_di_stefano = "compas_python_utils.preprocessing.sampleMoeDiStefano:main"
fast_cosmic_integrator = "compas_python_utils.cosmic_integration.FastCosmicIntegration:main"
[tool.setuptools.package-data]
"compas_python_utils.preprocessing" = ["*.txt", "*.yaml"]
"compas_python_utils.detailed_evolution_plotter" = ["van_den_heuvel_figures/*"]
"compas_python_utils.cosmic_integration" = ["SNR_Grid*"]
[tool.black]
line-length = 79
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 79
[tool.pytest.ini_options]
testpaths = ["tests"]