Skip to content

Commit

Permalink
only install metplus and sub-packages, add version files to package d…
Browse files Browse the repository at this point in the history
…ata (parm cannot be added because it is non-package data)
  • Loading branch information
georgemccabe committed Sep 24, 2024
1 parent d25a49f commit beca359
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ Homepage = "https://github.com/dtcenter/METplus"
#[project.scripts]
#run_metplus = "ush.run_metplus:cli_main"

[tool.setuptools]
packages = ["ush", "metplus", "produtil"]
[tool.setuptools.packages]
find = {include = ["metplus*"]}

[tool.setuptools.package-data]
metplus = ["parm/**"]
metplus = [
"VERSION", "RELEASE_DATE", "PYTHON_VERSION", "PYTHON_VERSION_MIN",
]

[tool.setuptools.exclude-package-data]
metplus = ["README", "__pycache__","*~"]
metplus = ["README", "__pycache__", "*~"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
Expand Down

0 comments on commit beca359

Please sign in to comment.