Skip to content

Commit e2a17e2

Browse files
committed
Python 3.12
1 parent 056d406 commit e2a17e2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

build_all.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ if [ -z "${app_certificate}" ]; then
1010
fi
1111
# Baseline utilities to build package
1212
rm -rf ./venv || true
13-
python3.11 -m venv venv
13+
python3.12 -m venv venv
1414
source venv/bin/activate
1515
pip install setuptools wheel
1616
# Build it
1717
cd ./dynaface-lib
18-
python3.11 setup.py bdist_wheel
18+
python3.12 setup.py bdist_wheel
1919
mkdir -p ../dynaface-app/wheels/
2020
cp ./dist/*.whl ../dynaface-app/wheels/
2121
cd ../dynaface-app
@@ -24,10 +24,10 @@ cp $models/pnet.pt ./data
2424
cp $models/rnet.pt ./data
2525
cp $models/spiga_wflw.pt ./data
2626
rm -rf ./venv || true
27-
python3.11 -m venv venv
27+
python3.12 -m venv venv
2828
source venv/bin/activate
29-
pip3.11 install -r requirements.txt -f /Users/jeff/output/pytorch
30-
pip3.11 install facial_analysis -f ./wheels -f /Users/jeff/output/PyTorch
29+
pip3.12 install -r requirements.txt -f /Users/jeff/output/pytorch
30+
pip3.12 install facial_analysis -f ./wheels -f /Users/jeff/output/PyTorch
3131
cd deploy/macos
3232
rm -rf ./working || true
3333
./build.sh

dynaface-app/deploy/macos/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818
# Environment
1919
cd ../..
2020
rm -rf ./venv || true
21-
python3.11 -m venv venv
21+
python3.12 -m venv venv
2222
source venv/bin/activate
2323
pip install -r requirements.txt
2424
pip install facial_analysis -f ./wheels

0 commit comments

Comments
 (0)