Skip to content

Commit

Permalink
Use PEP 625 compatible archive name
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwoerer committed Nov 26, 2024
1 parent 3db4b53 commit c931874
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 c931874

Please sign in to comment.