Surface detection within geoscientific data.
Table of Contents
surface-apps is currently written for Python 3.10 or higher.
To install surface-apps, you need to install Conda first.
We recommend to install Conda using miniforge.
You can install (or update) a conda environment with all the requires packages to run surface-apps. To do so you can directly run the Install_or_Update.bat file by double left clicking on it.
You can install the package using conda
and the .lock
files from a conda prompt:
conda env create --solver libmamba -n my-env -f environments/[the_desired_env].lock.yml
You should not install the package from PyPI, as the app requires conda packages to run.
Still, you can install it in a prepared conda environment, telling pip
not to install dependencies
thanks to the --no-deps
option.
To install the surface-apps package published on PyPI:
pip install -U --no-deps surface-apps
If the revision of the package is not on PyPI yet, you can install it from a Git tag:
pip install -U --no-deps --force-reinstall https://github.com/MiraGeoscience/surface-apps/archive/refs/tags/TAG.zip
Or to install the latest changes available on a given Git branch:
pip install -U --no-deps --force-reinstall https://github.com/MiraGeoscience/surface-apps/archive/refs/heads/BRANCH.zip
Note
The --force-reinstall
option is used to make sure the updated version
of the sources is installed, and not the cached version, even if the version number
did not change. The -U
or --upgrade
option is used to make sure to get the latest version,
on not merely reinstall the same version. As the package is aimed to be in a Conda environment, the option --no-deps
is used to avoid installing the dependencies with pip, as they will be installed with conda.
If you have a git clone of the package sources locally, you can install surface-apps from the local copy of the sources with:
pip install -U --force-reinstall path/to/project_folder_with_pyproject_toml
Or in editable mode, so that you can edit the sources and see the effect immediately at runtime:
pip install -e -U --force-reinstall path/to/project_folder_with_pyproject_toml
To configure the development environment and tools, please see README-dev.rst.
surface-apps is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
surface-apps is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with surface-apps. If not, see <https://www.gnu.org/licenses/>.
The surface-apps Software may provide links to third party libraries or code (collectively "Third Party Software") to implement various functions. Third Party Software does not comprise part of the Software. The use of Third Party Software is governed by the terms of such software license(s). Third Party Software notices and/or additional terms and conditions are located in the THIRD_PARTY_SOFTWARE.rst file.
Copyright (c) 2024 Mira Geoscience Ltd.