From 28a4b29c25d5b18eda186f9ad9a9f6fa897df352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= <24550538+sebhmg@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:22:43 -0500 Subject: [PATCH 1/4] [GEOPY-2547] no need to distribute README.rst README.rst is meant for github the published readme is package.rst --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 953a0db1..1397b543 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,6 @@ include = [ { path = "COPYING" }, { path = "COPYING.LESSER" }, { path = "LICENSE" }, - { path = "README.rst" }, { path = "THIRD_PARTY_SOFTWARE.rst" }, { path = "docs/**/THIRD_PARTY_SOFTWARE.rst" }, ] From 7b2c52f152ca145ed50ce174223f8a160c0459ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= <24550538+sebhmg@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:23:41 -0500 Subject: [PATCH 2/4] [GEOPY-2547] use project.license-files to publish license files and related then poetry.include is not needed for those --- pyproject.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1397b543..9ffb3dcb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,10 @@ requires-python = '>=3.10,<4.0' description = "Application to run SimPEG inversions with geoh5 files from Geoscience Analyst." license = "MIT" +license-files = [ + "LICENSE", + "docs/THIRD_PARTY_SOFTWARE.rst", +] keywords = [ "direct current resistivity", "earth science", @@ -65,11 +69,6 @@ packages = [ ] include = [ - { path = "COPYING" }, - { path = "COPYING.LESSER" }, - { path = "LICENSE" }, - { path = "THIRD_PARTY_SOFTWARE.rst" }, - { path = "docs/**/THIRD_PARTY_SOFTWARE.rst" }, ] version = "0.0.0.dev0" From 8dd9fe704b074ad1c27fdc0b0c9d1c4e95ca195f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= <24550538+sebhmg@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:25:30 -0500 Subject: [PATCH 3/4] [GEOPY-2547] place third party software notice in conda recipe --- recipe.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe.yaml b/recipe.yaml index 6198bf42..e807cd3b 100644 --- a/recipe.yaml +++ b/recipe.yaml @@ -76,7 +76,9 @@ tests: about: license: MIT - license_file: LICENSE + license_file: + - LICENSE + - docs/THIRD_PARTY_SOFTWARE.rst homepage: https://www.mirageoscience.com/mining-industry-software/python-integration/ repository: https://github.com/MiraGeoscience/simpeg-drivers documentation: https://mirageoscience-simpeg-drivers.readthedocs-hosted.com/ From 64429a9b58f3d750a64675f6c387e189df8e3206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hensgen?= <24550538+sebhmg@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:26:35 -0500 Subject: [PATCH 4/4] [GEOPY-2547] make sure to keep _version.py in packaging --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 9ffb3dcb..c25b20c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,6 +69,7 @@ packages = [ ] include = [ + { path = "simpeg_drivers/_version.py", format = ["sdist", "wheel"] }, ] version = "0.0.0.dev0"