-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (93 loc) · 2.55 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
[build-system]
requires = [
"setuptools>=61.2",
"Cython>=0.29.21",
"numpy",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "astrophysics_toolset"
version = "0.3.0"
description = "Python package with some astrophysics-related stuff"
authors = [
{ name = "Corentin Cadiou", email = "[email protected]" },
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
]
keywords = [
"astrophysics_toolset",
]
requires-python = ">=3.9"
dependencies = [
"cython-fortran-file>=0.2.2",
"joblib>=1.0",
"kaitaistruct>=0.8",
"numba>=0.40",
"numpy>=1.18",
"scipy>=1.4.1",
"yt>=4.0",
]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.license]
text = "MIT"
[project.urls]
Homepage = "https://github.com/cphyc/astrophysics_toolset"
[project.optional-dependencies]
all = [
"h5py>=3.0.0",
"pyorick>=1.4",
]
test = [
"pytest>=6.2.5,<8.4.0",
# Ping to 4.3.1 to avoid changeset in https://github.com/yt-project/yt/pull/4878
# This is required for testing hilbert.pyx functions
"yt>=4.3.1,<4.5.0",
]
[project.scripts]
astrophysics_toolset = "astrophysics_toolset.cli:main"
ramses_change_ncpu = "astrophysics_toolset.ramses.ramses_change_ncpu:main"
yorick2hdf = "astrophysics_toolset.io.yorick:main"
ramses_gather_lightcone = "astrophysics_toolset.ramses.lightcone:main"
read_logs = "astrophysics_toolset.ramses.read_logs:main"
[tool.setuptools]
include-package-data = true
zip-safe = false
license-files = [
"LICENSE",
]
[tool.setuptools.packages.find]
namespaces = false
[tool.bumpversion]
current_version = "0.3.0"
commit = "True"
tag = "True"
[tool.bumpversion.file.setup.cfg]
search = "version = {current_version}"
replace = "version = {new_version}"
[tool.bumpversion.file."astrophysics_toolset/__init__".py]
search = "__version__ = '{current_version}'"
replace = "__version__ = '{new_version}'"
[tool.distutils.bdist_wheel]
universal = 1
[tool.aliases]
test = "pytest"
[tool.ruff.lint]
select = ["E", "C", "F", "UP", "B", "A", "YTT", "S", "N"]
ignore = [
"N802", "N803", "N806", # variable should be lowercase
"C901", # function too complex
]
[tool.ruff.lint.per-file-ignores]
"**/tests/*.py" = ["S101"]
# file automatically generated by kaitai
"astrophysics_toolset/io/disperse_reader.py" = ["E501"]