forked from equinor/xtgeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (46 loc) · 1.09 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
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''
# numpy version scheme to fulfill Roxar API compatibility:
# RMS 12.1.* --> numpy == 1.19.2 with python 3.8
[build-system]
requires = [
"setuptools>=43",
"scikit-build<0.17",
'cmake==3.15.3; python_version >= "3.8" and platform_system == "Linux"',
'cmake==3.18.0; platform_system != "Linux"',
"ninja",
'swig',
"setuptools_scm>=3.2.0",
'numpy==1.19.2; python_version == "3.8"',
'numpy==1.19.5; python_version == "3.9"',
'numpy==1.21.6; python_version == "3.10"',
'numpy==1.23.5; python_version == "3.11"',
'Sphinx<4.0',
'sphinx-rtd-theme',
'sphinx-toolbox',
'autoclasstoc',
'myst-parser',
]
[tool.setuptools_scm]
write_to = "src/xtgeo/_theversion.py"