diff --git a/pyproject.toml b/pyproject.toml index 953a0db1..c25b20c3 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,12 +69,7 @@ packages = [ ] include = [ - { path = "COPYING" }, - { path = "COPYING.LESSER" }, - { path = "LICENSE" }, - { path = "README.rst" }, - { path = "THIRD_PARTY_SOFTWARE.rst" }, - { path = "docs/**/THIRD_PARTY_SOFTWARE.rst" }, + { path = "simpeg_drivers/_version.py", format = ["sdist", "wheel"] }, ] version = "0.0.0.dev0" 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/