Skip to content

Commit

Permalink
Updating Makefile
Browse files Browse the repository at this point in the history
changing it once again to work properly on ubuntu now
  • Loading branch information
Vhou-Atroph committed Apr 24, 2024
1 parent 86f80c4 commit 224a35e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ exe:
copy ".\src\tt_damage_calculator\assets\img" ".\dist\assets\img"
copy "./LICENSE" "./dist"

# im currently developing this on my rpi so i need some new makefile instructions for building the calculator here
make-venv:
python -m venv .venv
source .venv/bin/activate
pip install maturin
pip install patchelf
pip install pyinstaller
# creates a virtual environment for compiling the calculator
.ONESHELL:
env:
python3 -m venv .venv --system-site-packages
. .venv/bin/activate
python3 -m pip install -r requirements.txt

exe-linux:
cargo build --release
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
maturin
patchelf
pyinstaller

0 comments on commit 224a35e

Please sign in to comment.