-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove redundant gitignore * move content from setup.py to pyproject.toml * move version export to Explorer __init__ * update docs: uploader has been moved * workflows use python 3.10 * use sphinx-build * remove old requirements txt files * update readthedocs python build config
- Loading branch information
1 parent
114ccbf
commit 8164d5f
Showing
17 changed files
with
70 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
version: 2 | ||
|
||
build: | ||
image: latest | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.10" | ||
|
||
python: | ||
version: "3.8" | ||
install: | ||
- requirements: requirements/requirements_docs.txt | ||
- method: setuptools | ||
- method: pip | ||
path: . | ||
system_packages: true | ||
extra_requirements: | ||
- docs | ||
|
||
sphinx: | ||
configuration: docs/conf.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,50 @@ | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
version_file = "src/fmu/sumo/explorer/_version.py" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[build-system] | ||
requires = [ | ||
"pip>=19.1.1", | ||
"setuptools>=28", | ||
"setuptools_scm>=3.2.0", | ||
"wheel", | ||
[tool.black] | ||
line-length = 79 | ||
|
||
[project] | ||
name = "fmu-sumo-explorer" | ||
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 = ["Programming Language :: Python"] | ||
dependencies = [ | ||
"pandas>=1.1.3", | ||
"sumo-wrapper-python", | ||
"xtgeo", | ||
"pyarrow; python_version > '3.6.1'", | ||
"OpenVDS; sys_platform != 'darwin'", | ||
] | ||
|
||
[tool.black] | ||
line-length = 79 | ||
[project.urls] | ||
Repository = "https://github.com/equinor/fmu-sumo" | ||
|
||
[project.optional-dependencies] | ||
dev = ["black", "flake8", "pytest"] | ||
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"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +0,0 @@ | ||
try: | ||
from .version import version | ||
|
||
__version__ = version | ||
except ImportError: | ||
__version__ = "0.0.0" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters