-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
85 lines (80 loc) · 1.49 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
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.2",
# see https://github.com/numpy/numpy/pull/18389
"wheel>=0.36.2",
# Cython 3.0 is the next version after 0.29, and a major change,
# we forbid it until we can properly test against it
"Cython>=0.29.21,<3.1",
"oldest-supported-numpy",
]
[project]
name = "soxs"
dynamic = ["version"]
requires-python = ">=3.9.2"
description = "Simulated Observations of X-ray Sources"
authors = [
{ name = "John ZuHone", email = "[email protected]" },
]
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Visualization",
]
dependencies = [
"numpy",
"astropy>=4.0",
"tqdm",
"pooch",
"h5py>=3.0",
"scipy",
"pyyaml",
"regions",
"appdirs",
]
[tool.setuptools_scm]
[tool.black]
line-length = 88
target-version = ['py39']
include = '''
/(
\.pyi?$
| scripts/*
)/
'''
exclude = '''
/(
\.eggs
| \.git
| \.venv
| _build
| build
| dist
)/
'''
[tool.isort]
profile = "black"
combine_as_imports = true
skip = ["venv", "benchmarks"]
known_third_party = [
"IPython",
"numpy",
"sympy",
"matplotlib",
"unyt",
"git",
"yaml",
"dateutil",
"requests",
"coverage",
"pytest",
"astropy",
"scipy",
"pathlib",
"yt",
"pyxsim"
]
known_first_party = ["soxs"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]