Skip to content

Commit

Permalink
added deploy to toml
Browse files Browse the repository at this point in the history
  • Loading branch information
JTvD committed Jan 17, 2025
1 parent 9c16af5 commit 0a7aaef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build_tools/build_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def create_exe():
venv_activate = f"source {venv_activate}"
uipy.run_cmd(f"{python} -m venv {venv}")
uipy.run_cmd(f"{venv_activate} {cmd_sep} python -m pip install --upgrade pip")
uipy.run_cmd(f"{venv_activate} {cmd_sep} pip install -r requirements.txt")
uipy.run_cmd(f"{venv_activate} {cmd_sep} pip install .")
uipy.run_cmd(f"{venv_activate} {cmd_sep} pip install .[deploy]")
else:
venv_activate = f"\"{str(venv_activate)}\""

Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ test = [
"mypy",
]

deploy = [
"Nuitka",
]

all = [
"ibridgesgui[test]"
"ibridgesgui[test]",
"ibridgesgui[deploy]",
]

[project.scripts]
Expand Down

0 comments on commit 0a7aaef

Please sign in to comment.