Skip to content

Commit

Permalink
ensure _dafny gets packaged, fix version number
Browse files Browse the repository at this point in the history
When using the "flat layout", setuptools' auto-discovery only considers
a single top-level module.
See <https://setuptools.pypa.io/en/stable/userguide/package_discovery.html#flat-layout>.
  • Loading branch information
alex-chew committed Oct 14, 2024
1 parent 7201cb9 commit a38d657
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Source/DafnyRuntime/DafnyRuntimePython/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "DafnyRuntimePython"
version = "4.7.0"
version = "4.8.1"
authors = [
{ name = "The Dafny core team", email = "[email protected]" },
]
Expand All @@ -19,3 +15,10 @@ classifiers = [
[project.urls]
Homepage = "https://github.com/dafny-lang/dafny"
Issues = "https://github.com/dafny-lang/dafny/issues"

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["_dafny", "System_"]

0 comments on commit a38d657

Please sign in to comment.