Skip to content

Commit

Permalink
Set version, but not readme, in dynamic metadata
Browse files Browse the repository at this point in the history
It looks like meson doesn't allow readme in dynamic metadata.

Be sure to install _version.py.
  • Loading branch information
mdpiper committed Mar 6, 2024
1 parent 109a9a0 commit 4fe09ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions babelizer/data/{{cookiecutter.package_name}}/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ srcs = [
install_pkg_srcs = [
'{{ cookiecutter.package_name }}/__init__.py',
'{{ cookiecutter.package_name }}/_bmi.py',
'{{ cookiecutter.package_name }}/_version.py',
]
py.install_sources(
install_pkg_srcs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers=[
]
requires-python = ">=3.10"
keywords=["bmi", "pymt"]
dynamic = ["readme", "version"]
dynamic = ["version"]
dependencies = [
"numpy",
]
Expand Down

0 comments on commit 4fe09ad

Please sign in to comment.