From 7d7fa251d843992d31c75e9796d8e3a863b40341 Mon Sep 17 00:00:00 2001 From: mferrera Date: Mon, 2 Oct 2023 09:56:13 +0200 Subject: [PATCH] CLN: Remove requirements directory --- docs/installation.rst | 3 +- requirements/pyproject.toml.komodo | 15 ---------- requirements/requirements.txt | 13 --------- requirements/requirements_dev.txt | 34 ---------------------- requirements/requirements_dev_rms.txt | 30 ------------------- requirements/requirements_docs.txt | 12 -------- requirements/requirements_komodo.txt | 4 --- requirements/requirements_setup.txt | 11 ------- requirements/requirements_setup_extras.txt | 9 ------ requirements/requirements_test.txt | 6 ---- 10 files changed, 1 insertion(+), 136 deletions(-) delete mode 100644 requirements/pyproject.toml.komodo delete mode 100644 requirements/requirements.txt delete mode 100644 requirements/requirements_dev.txt delete mode 100644 requirements/requirements_dev_rms.txt delete mode 100644 requirements/requirements_docs.txt delete mode 100644 requirements/requirements_komodo.txt delete mode 100644 requirements/requirements_setup.txt delete mode 100644 requirements/requirements_setup_extras.txt delete mode 100644 requirements/requirements_test.txt diff --git a/docs/installation.rst b/docs/installation.rst index e60c71b04..4bff1c726 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -66,8 +66,7 @@ Hence folder structure may look like /some/path/to/xtgeo /some/path/to/xtgeo-testdata -For required python packages, see the requirements*.txt files and the -pyproject.toml file in the root folder. +For required python packages, see the pyproject.toml file in the root folder. Once you have a copy of the source, and you have a `virtual environment`_, then always run tests (run first compile and install with ``pip install .``): diff --git a/requirements/pyproject.toml.komodo b/requirements/pyproject.toml.komodo deleted file mode 100644 index 60400194e..000000000 --- a/requirements/pyproject.toml.komodo +++ /dev/null @@ -1,15 +0,0 @@ -# version to be runnable by older pips in Komodo bleeding (Equinor) -[build-system] -requires = [ - "pip>=19.1.1", - "setuptools>=30.3.0", - "scikit-build<0.17", - "cmake>=3.6.0", - "ninja", - "setuptools_scm>=3.2.0", - "numpy>=1.19", - "Sphinx<4.0", # Due to sphinx-toolbox - "sphinx-rtd-theme", - "sphinxcontrib-apidoc", - "sphinx-autodoc-typehints", - ] diff --git a/requirements/requirements.txt b/requirements/requirements.txt deleted file mode 100644 index 252e1c41d..000000000 --- a/requirements/requirements.txt +++ /dev/null @@ -1,13 +0,0 @@ -deprecation -numpy>=1.19 -shapely>=1.6.2 -matplotlib>=3.3 -scipy>=1.5 -segyio>1.8.0 -pandas>=1.1 -h5py>=3 -hdf5plugin>=2.3 -tables>=3.5.1 -roffio>=0.0.2 -ecl-data-io>=2.1 -typing-extensions diff --git a/requirements/requirements_dev.txt b/requirements/requirements_dev.txt deleted file mode 100644 index 335703ca7..000000000 --- a/requirements/requirements_dev.txt +++ /dev/null @@ -1,34 +0,0 @@ -setuptools>=43 -setuptools_scm>=3.2.0 -scikit-build<0.17 -ninja>=1.9.0.post1 -cmake>3.13.3 -pip>=20 -wheel>=0.38 -flake8 -pydocstyle -coverage>=4.1 -pytest-runner>=2.11.1 -pre-commit -coverage>=4.1 -Sphinx<4.0 # Due to sphinx-toolbox -sphinx-rtd-theme -sphinx-toolbox -autoclasstoc -myst-parser -bandit -numpy>1.19 -pandas>=1.1 -segyio>=1.8.6 -matplotlib>=3.3 -scipy>=1.5 -shapely>=1.6.2 -black>=23.1 -autopep8 -pylint -pytest>=6 -pytest-cov -h5py>=3 -hdf5plugin>=2.3 -tables>=3.5 -swig diff --git a/requirements/requirements_dev_rms.txt b/requirements/requirements_dev_rms.txt deleted file mode 100644 index 855019d63..000000000 --- a/requirements/requirements_dev_rms.txt +++ /dev/null @@ -1,30 +0,0 @@ -# requirements when used in RMS python venv's -pip>=20.3.3 -setuptools>=30.3.0 -setuptools_scm>=3.2.0 -scikit-build -ninja>=1.9.0.post1 -cmake==3.15.3 -wheel>=0.38 -flake8 -pydocstyle -coverage>=4.1 -pre-commit -coverage>=4.1 -Sphinx<4.0 # Due to sphinx-toolbox -sphinx-rtd-theme -sphinx-toolbox -autoclasstoc -myst-parser -bandit -segyio>=1.8.6 -shapely>=1.6.2 -black>=23.1 -autopep8 -pylint -pytest>=2.9.2 -pytest-cov -pytest-runner>=2.11.1 -h5py>=3 -hdf5plugin>=2.3 -tables>=3.5.1 diff --git a/requirements/requirements_docs.txt b/requirements/requirements_docs.txt deleted file mode 100644 index 3355768af..000000000 --- a/requirements/requirements_docs.txt +++ /dev/null @@ -1,12 +0,0 @@ -setuptools>=43 -cmake>=3.13.3 -scikit-build -ninja - -setuptools_scm -pydocstyle -Sphinx<4.0 -sphinx-rtd-theme -sphinx-toolbox -autoclasstoc -myst-parser diff --git a/requirements/requirements_komodo.txt b/requirements/requirements_komodo.txt deleted file mode 100644 index f8c5bc9b6..000000000 --- a/requirements/requirements_komodo.txt +++ /dev/null @@ -1,4 +0,0 @@ -numpy>=1.13 -cmake>=3.13.1 -setuptools_scm>=3.2.0 -scikit-build==0.10.0 diff --git a/requirements/requirements_setup.txt b/requirements/requirements_setup.txt deleted file mode 100644 index 77a487bb7..000000000 --- a/requirements/requirements_setup.txt +++ /dev/null @@ -1,11 +0,0 @@ -# requirements for setup on localhost -# see also ...setup_ci.txt and pyproject.toml -setuptools>=43 -wheel>=0.38 -numpy -cmake -setuptools_scm -scikit-build -ninja -pytest-runner -swig diff --git a/requirements/requirements_setup_extras.txt b/requirements/requirements_setup_extras.txt deleted file mode 100644 index 3c099d592..000000000 --- a/requirements/requirements_setup_extras.txt +++ /dev/null @@ -1,9 +0,0 @@ -flake8 -pydocstyle -coverage>=4.1 -pre-commit -coverage>=4.1 -bandit -autopep8 -pylint -pytest-cov diff --git a/requirements/requirements_test.txt b/requirements/requirements_test.txt deleted file mode 100644 index 512ea3780..000000000 --- a/requirements/requirements_test.txt +++ /dev/null @@ -1,6 +0,0 @@ -pytest -hypothesis<=6.83.0;python_version=='3.8' # ipython pinned to 8.12.2 for python 3.8 support -hypothesis;python_version>='3.9' -pytest-benchmark -pytest-mock -pytest-snapshot