You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The manual installation seems cumbersome and compicated for novice linux users. The way of running the server seems unpythonic. Setting up the systemd service has to be done manually and from reading the README.
Restructure the project root to match the Python Packaging Authority recommended project layout. Then use [pyproject.toml][pyproj.toml] to build a wheel package. Have it secify the server as entrypoint, so that it can be installed via pipx and run directly from the shell. Distribute these pre-built packages via PyPI and/or Github Release Artifacts and use Github Actions to automate the build process on the CI.
Then the installation would be as simple as
pip3 install https://github.com/monkeymademe/picamera2-WebUI.git
# or
pip3 install picamera2-WebUI
# then run
python3 -m picamera2_webui
# or
pipx install picamera2-WebUI
# then run
picamera2-webui
Also create a [Debian .deb package][raspbian-deb[ that can be installed via apt-get. This can then also pull-in any platform-specific system packages and ease the installation, as well as install systemd service files and run post-installation commands like starting the server. Distribute it via Github Release Artifacts use Github Actions to automate the build process on the CI or even try to get it upstreamed into the Rasbian repositories.
Then the installation would be as simple as
wget https://github.com/monkeymademe/picamera2-WebUI/releases/download/v1.0.0/picamera2-WebUI.deb
dpkg -i picamera2-WebUI.deb
# or
apt-get install python3-picamera2-WebUI
# server started automatically
I am happy to do all this and open an PR, since I have done similar setups before, if it will get merged. Would you be interested in this?
The text was updated successfully, but these errors were encountered:
The manual installation seems cumbersome and compicated for novice linux users. The way of running the server seems unpythonic. Setting up the systemd service has to be done manually and from reading the README.
Restructure the project root to match the Python Packaging Authority recommended project layout. Then use [
pyproject.toml
][pyproj.toml] to build a wheel package. Have it secify the server as entrypoint, so that it can be installed via pipx and run directly from the shell. Distribute these pre-built packages via PyPI and/or Github Release Artifacts and use Github Actions to automate the build process on the CI.Then the installation would be as simple as
Also create a [Debian
.deb
package][raspbian-deb[ that can be installed viaapt-get
. This can then also pull-in any platform-specific system packages and ease the installation, as well as install systemd service files and run post-installation commands like starting the server. Distribute it via Github Release Artifacts use Github Actions to automate the build process on the CI or even try to get it upstreamed into the Rasbian repositories.Then the installation would be as simple as
I am happy to do all this and open an PR, since I have done similar setups before, if it will get merged. Would you be interested in this?
The text was updated successfully, but these errors were encountered: