Skip to content

Commit

Permalink
Merge pull request #3035 from boutproject/pep-625-next
Browse files Browse the repository at this point in the history
Use PEP 625 compatible archive name (next)
  • Loading branch information
bendudson authored Nov 26, 2024
2 parents 97c62ca + f386ff4 commit 78c2bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pylib/_boutpp_build/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def build_sdist(sdist_directory, config_settings=None):
if k == "nightly":
useLocalVersion = False
pkgname = "boutpp-nightly"
prefix = f"{pkgname}-{getversion()}"
prefix = f"{pkgname.replace('-', '_')}-{getversion()}"
fname = f"{prefix}.tar"
run(f"git archive HEAD --prefix {prefix}/ -o {sdist_directory}/{fname}")
_, tmp = tempfile.mkstemp(suffix=".tar")
Expand Down

0 comments on commit 78c2bf4

Please sign in to comment.