Skip to content

Commit

Permalink
Edittoml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderJuestel committed Oct 5, 2023
1 parent a4724cc commit 20073e3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gemgis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2458,7 +2458,7 @@ def open_mpk(path_in: str):
"""
# Trying to import py7zr but returning error if py7zr is not installed
try:
import py7zr as gp
import py7zr
except ModuleNotFoundError:
raise ModuleNotFoundError(
'py7zr package is not installed. Use pip install py7zr to install the latest version')
Expand Down
26 changes: 26 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,37 @@ classifiers = [
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
]
# These dependencies are needed to import GemGIS successfully
# These dependencies will automatically install other packages like numpy, pandas or matplotlib
dependencies = [
'geopandas',
'rasterio',
'pyvista',
]

[project.optional-dependencies]
optionals = [
'scipy',
'PyPDF2',
'tqdm',
'gempy',
'pvgeo',
'xml',
'scikit-image',
'xmltodict',
'geopy',
'scikit-learn',
'py7zr',
'segysak',
'rioxarray',
'tqdm',
'mplstereonet',
'xarray',
'owslib',
'requests',
'urllib'
]

[project.urls]
Documentation = 'https://gemgis.readthedocs.io/'
Home = 'https://gemgis.readthedocs.io/'
Expand Down

0 comments on commit 20073e3

Please sign in to comment.