-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
73 lines (69 loc) · 1.33 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
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.2",
# see https://github.com/numpy/numpy/pull/18389
"wheel>=0.36.2",
"Cython>=0.29.21, <3.1",
"numpy>=1.25, <2.0",
]
[project]
name = "pyxsim"
dynamic = ["version"]
requires-python = ">=3.9.2"
description = "Python package for simulating X-ray observations from astrophysical 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",
"h5py>=3.0",
"scipy",
"yt>=4.3",
"unyt>=2.9.5",
"soxs>=4.6.0",
"tqdm",
]
[tool.setuptools_scm]
[tool.black]
line-length = 88
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.venv
| _build
| build
| dist
)/
'''
[tool.isort]
profile = "black"
combine_as_imports = true
skip = ["venv", "benchmarks"]
known_third_party = [
"IPython",
"soxs",
"numpy",
"matplotlib",
"git",
"yaml",
"dateutil",
"requests",
"coverage",
"pytest",
"astropy",
"scipy",
"pathlib",
]
known_first_party = ["pyxsim"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]