forked from equinor/xtgeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (49 loc) · 1.28 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
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
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 11.* 12.0.* --> numpy == 1.13.3 with python 3.6
# RMS 12.1.* --> numpy == 1.19.2 with python 3.8
#
# For cmake, cmake >= 3.6 is tested to be OK actually but versions are linked to pip versions and
[build-system]
requires = [
"pip>=19.1.1",
"setuptools>=30.3.0",
"wheel",
"scikit-build",
'cmake==3.13.3; python_version < "3.7" and platform_system == "Linux"',
'cmake==3.15.3; python_version >= "3.7" and platform_system == "Linux"',
'cmake==3.18.0; platform_system != "Linux"',
"ninja",
"setuptools_scm>=3.2.0",
'numpy==1.13.3; python_version == "3.6"',
'numpy==1.19.2; python_version == "3.8"',
'numpy>=1.19; python_version == "3.7"',
'numpy>=1.19; python_version >= "3.9"',
'Sphinx<4.0', # Due to sphinx-toolbox
'sphinx-rtd-theme',
'sphinx-toolbox',
'autoclasstoc',
'myst-parser',
]