Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Removed hackiness for picamera on python3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
leadnaut committed Sep 12, 2024
1 parent 831f4a5 commit fabf93a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 26 deletions.
8 changes: 0 additions & 8 deletions bootstrap/apt_packages.txt

This file was deleted.

5 changes: 2 additions & 3 deletions bootstrap/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ else
fi

echo -e $INFO Copying Dependency Data
$SSH_PREFIX scp ../{pyproject.toml,requirements_uvonly.in,README.md} ./apt_packages.txt $SSHUSER@$SSHTARGET:~/
$SSH_PREFIX scp ../{pyproject.toml,README.md} ./apt_packages.txt $SSHUSER@$SSHTARGET:~/
echo -e $INFO Installing apt packages
$SSH_GO "xargs -a apt_packages.txt sudo apt-get install -y"
echo -e $INFO Compiling dependencies
$SSH_GO "~/.cargo/bin/uv pip compile pyproject.toml requirements_uvonly.in -o requirements.txt"
$SSH_GO "~/.cargo/bin/uv pip compile pyproject.toml -o requirements.txt"
echo -e $INFO Installing dependencies
$SSH_GO "sudo ~/.cargo/bin/uv pip install --system --python 3.10 -r requirements.txt"
10 changes: 0 additions & 10 deletions bootstrap/install_libcamera.sh

This file was deleted.

17 changes: 16 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ deepface = "^0.0.93"
tensorflow-io-gcs-filesystem = "0.27.0"
tf-keras = "^2.17.0"
h5py = "3.10.0"
rpi-gpio = "^0.7.1"

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
Expand Down
4 changes: 0 additions & 4 deletions requirements_uvonly.in

This file was deleted.

0 comments on commit fabf93a

Please sign in to comment.