Skip to content

Commit 2c57c50

Browse files
committed
Refactor dependencies in pyproject.toml and update optional dependencies in poetry.lock for geoh5py support
1 parent 902675d commit 2c57c50

2 files changed

Lines changed: 36 additions & 24 deletions

File tree

poetry.lock

Lines changed: 19 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
requires = ["poetry-core>=1.0.0", "setuptools"]
33
build-backend = "poetry.core.masonry.api"
44

5-
65
[project]
76
name = "mira-omf"
87
version = "3.4.0-alpha.1"
@@ -14,16 +13,15 @@ authors = [
1413
]
1514
maintainers = [{ name = "Dominique Fournier", email = "dominiquef@mirageoscience.com" }]
1615
repository = "https://github.com/MiraGeoscience/omf"
17-
#documentation = "https://mirageoscience-omf.readthedocs-hosted.com/"
1816
homepage = "https://www.mirageoscience.com/mining-industry-software/python-integration/"
19-
20-
dynamic = ["dependencies"]
17+
#documentation = "https://mirageoscience-omf.readthedocs-hosted.com/"
2118

2219
requires-python = ">=3.10,<4.0"
2320

24-
2521
readme = "README.rst"
22+
2623
keywords = ["geology", "geophysics", "earth sciences"]
24+
2725
classifiers = [
2826
'Development Status :: 4 - Beta',
2927
'Programming Language :: Python',
@@ -37,6 +35,20 @@ classifiers = [
3735
'Natural Language :: English',
3836
]
3937

38+
dependencies = [
39+
"numpy ~=1.26.0",
40+
"properties ==0.6.*",
41+
"pypng >=0.20220715",
42+
"six >=1.16",
43+
"vectormath ==0.2.*"
44+
]
45+
46+
[project.optional-dependencies]
47+
geoh5py = [
48+
"geoh5py @ git+https://github.com/MiraGeoscience/geoh5py.git@develop"
49+
]
50+
51+
[tool.poetry]
4052
packages = [
4153
{ include = "omf" },
4254
]
@@ -50,16 +62,6 @@ include = [
5062
{ path = "docs/**/THIRD_PARTY_SOFTWARE.rst" },
5163
]
5264

53-
54-
dependencies = [
55-
"numpy ~= 1.26.0",
56-
"properties == 0.6.*",
57-
"pypng >= 0.20220715",
58-
"six >= 1.16",
59-
"vectormath == 0.2.*",
60-
"geoh5py @ git+https://github.com/MiraGeoscience/geoh5py.git@develop"
61-
]
62-
6365
[tool.poetry.group.dev.dependencies]
6466
Pygments = "*"
6567
pylint = "*"

0 commit comments

Comments
 (0)