Skip to content

Commit

Permalink
Add sdist to package script
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed May 15, 2024
1 parent 514c8dd commit 730e26e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/package
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ _PROGRAM_DIR = _DIR.parent
_VENV_DIR = _PROGRAM_DIR / ".venv"

context = venv.EnvBuilder().ensure_directories(_VENV_DIR)
subprocess.check_call([context.env_exe, _PROGRAM_DIR / "setup.py", "bdist_wheel"])
subprocess.check_call(
[context.env_exe, _PROGRAM_DIR / "setup.py", "sdist", "bdist_wheel"]
)

0 comments on commit 730e26e

Please sign in to comment.