Skip to content

Commit

Permalink
feat: migrate to poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
ashhhleyyy committed Mar 29, 2024
1 parent 237f21a commit 0e13dc0
Show file tree
Hide file tree
Showing 6 changed files with 4,357 additions and 13 deletions.
5 changes: 1 addition & 4 deletions build/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ sudo apt install python3-pip python3-venv ffmpeg
python3 -m venv ../venv
source ../venv/bin/activate

pip3 install wheel
pip3 install -r requirements.txt
pip3 install -r requirements-linux.txt
pip3 install -e ../
poetry install

python3 ./generate-build-exe-config.py

Expand Down
5 changes: 1 addition & 4 deletions build/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ echo "BRANCH: str = \"$build_branch\"" >> ../build.py
python3 -m venv ../venv
source ../venv/bin/activate

pip3 install wheel
pip3 install -r requirements.txt
pip3 install -r requirements-macos.txt
pip3 install -e ..\
poetry install

python3 ./generate-build-exe-config.py

Expand Down
5 changes: 1 addition & 4 deletions build/build-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ if "%1" == "no-venv" goto skip-venv

:skip-venv

pip install wheel
pip install -r requirements.txt
pip install -r requirements-windows.txt
pip install -e ..\
poetry install

: Generate the json config in case you wanted to use the gui to regenerate the command below manually.
python generate-build-exe-config.py
Expand Down
2 changes: 1 addition & 1 deletion dev/install-githook.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
pip3 install autopep8
poetry install
cd "$(dirname "$0")"
cp "./pre-commit" "../.git/hooks/"

Loading

0 comments on commit 0e13dc0

Please sign in to comment.