Skip to content

Commit

Permalink
fix:build
Browse files Browse the repository at this point in the history
  • Loading branch information
SAKURA-CAT committed Aug 18, 2024
1 parent 8738cdc commit 765ffcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/build_pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
with open("swanlab/package.json", 'r+') as f:
p = json.load(f)
p["version"] = version
f.seek(0)
json.dump(p, f, indent=4)
f.truncate()

# 构建python项目
subprocess.run("python -m build", shell=True)

0 comments on commit 765ffcb

Please sign in to comment.