Installation

Installing GemPy

The latest release version of GemPy is available via PyPi. To install the core version, simply use pip:

$ pip install gempy

This will install GemPy with the minimal required dependencies.

Enhanced Installation Options

For additional features, GemPy offers enhanced installation options:

  • Base Features: For the majority of functionalities, install with base dependencies:

    $ pip install gempy[base]
    
  • Optional Features: To access optional features such as data download support, install with optional dependencies:

    $ pip install gempy[opt]
    
  • Development Version: For development purposes, including testing tools:

    $ pip install gempy[dev]
    

Note: Some functionalities in GemPy require PyTorch and pyvista. These libraries need to be installed separately:

Manual Installation

For the latest, cutting-edge version of GemPy, you can clone the repository and install it manually:

  1. Clone the repository:

    $ git clone https://github.com/cgre-aachen/gempy.git
    
  2. Navigate to the root of the cloned repository and install using pip:

    $ pip install -e .
    

Dependencies

GemPy relies on numerous open-source libraries. Core dependencies are automatically installed with the package. Enhanced functionalities require additional dependencies, structured as follows:

  • Core Dependencies: Installed with the basic package.

  • Base Dependencies: Additional libraries for extended functionalities (base-requirements.txt).

  • Optional Dependencies: Libraries for optional features (optional-requirements.txt).

  • Development Dependencies: Tools needed for development (dev-requirements.txt).