Skip to content

Commit

Permalink
Merge pull request #3034 from boutproject/pep-625
Browse files Browse the repository at this point in the history
Use PEP 625 compatible archive name
  • Loading branch information
bendudson authored Nov 26, 2024
2 parents 3db4b53 + c931874 commit fbb5fd7
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 fbb5fd7

Please sign in to comment.