-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
81 lines (69 loc) · 1.62 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
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "src/fmu/sumo/explorer/_version.py"
[project]
name = "fmu-sumo"
description = "Python package for interacting with Sumo in an FMU setting"
requires-python = ">=3.8"
dynamic = ["version"]
license = { file = "LICENSE" }
readme = { file = "README.md", content-type = "text/markdown" }
authors = [{ name = "Equinor" }]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
]
dependencies = [
"pandas>=1.1.3",
"sumo-wrapper-python",
"xtgeo",
"pyarrow; python_version > '3.6.1'",
"OpenVDS; sys_platform != 'darwin' and python_version < '3.12'",
]
[project.urls]
Repository = "https://github.com/equinor/fmu-sumo"
[project.optional-dependencies]
dev = ["ruff", "pytest"]
test = ["pytest", "pytest-timeout"]
docs = [
"sphinx==6.2.1",
"sphinx-rtd-theme",
"autoapi",
"sphinx-autodoc-typehints",
"sphinxcontrib-apidoc",
]
[tool.setuptools]
package-dir = { "" = "src" }
include-package-data = true
platforms = ["any"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
exclude = [
".env",
".git",
".github",
".venv",
"venv",
]
line-length = 79
[tool.ruff.lint]
ignore = [
"E501",
"PD901",
]
extend-select = [
"C4", # Flake8-comprehensions
"I", # isort
"SIM", # Flake8-simplify
"TC", # Flake8-type-checking
"TID", # Flake8-tidy-imports
"N", # pep8-naming
"PD", # Pandas
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/context.py" = ["F401"]
"examples/explorer.ipynb" = ["F821"]