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
[CI/CD] Add PyPi release workflow to dev branch (#2675)
Apply beta "b1" version suffix for a pre-release on PyPI.
Bump version string to 0.43.1b1 for simpler upgrades from 0.43.0, which did not have a pre-release suffix.
Update install instructions to pull pre-release from PyPI instead of GitHub.
Additionally add instructions to work around the "error: externally-managed-environment" error on recent Debian and Ubuntu versions.
Signed-off-by: MichaIng <micha@dietpi.com>
@@ -38,14 +38,22 @@ These install instructions are constantly tested via CI/CD pipeline on Debian Bu
38
38
rm get-pip.py
39
39
```
40
40
41
+
**On recent Debian (Bookworm ant later) and Ubuntu (Lunar and later) versions**, the `libpython3.*-stdlib` package ships a file `/usr/lib/python3.*/EXTERNALLY-MANAGED`, which prevents the installation of Python modules outside of `venv` environments.
42
+
motionEye however has a small number of dependencies with no strict version requirements and hence is very unlikely to break any Python package you might have installed via APT. To bypass this block, add `break-system-packages=true` to the `[global]` section of your `pip.conf`:
43
+
```sh
44
+
grep -q '\[global\]' /etc/pip.conf 2> /dev/null ||printf'%b''[global]\n'| sudo tee -a /etc/pip.conf > /dev/null
45
+
sudo sed -i '/^\[global\]/a\break-system-packages=true' /etc/pip.conf
46
+
```
47
+
41
48
On **32-bit ARMv6 and ARMv7** systems, additionally configure `pip` to use pre-compiled wheels from [piwheels](https://piwheels.org/):
42
49
```sh
43
-
printf'%b''[global]\nextra-index-url=https://www.piwheels.org/simple/\n'| sudo tee /etc/pip.conf > /dev/null
50
+
grep -q '\[global\]' /etc/pip.conf 2> /dev/null ||printf'%b''[global]\n'| sudo tee -a /etc/pip.conf > /dev/null
51
+
sudo sed -i '/^\[global\]/a\extra-index-url=https://www.piwheels.org/simple/' /etc/pip.conf
_NB: `motioneye_init` currently assumes either an APT- or RPM-based distribution with `systemd` as init system. For a manual setup, config and service files can be found here: <https://github.com/motioneye-project/motioneye/tree/dev/motioneye/extra>_
@@ -54,6 +62,6 @@ These install instructions are constantly tested via CI/CD pipeline on Debian Bu
0 commit comments