update to python 3.11

This commit is contained in:
2022-12-21 10:14:36 +01:00
parent 323b204d7c
commit dd42144e5e
3 changed files with 22 additions and 2 deletions

19
instructions.md Normal file
View File

@@ -0,0 +1,19 @@
# Instructions
## Build Standalone Bundle
You can create a bundle that includes everything, including Python, for easy distribution.
Just run `make_installer.py` with the following command. The distribution can be found in `dist/krowlog` You will have
to run this on all target platforms.
```
venv311/bin/python make_installer.py
```
## Update Python
1. install the latest python version. We need the dev version, because PyInstaller requires it.
`sudo apt install python-3.11-dev python-3.11-venv`
2. create new virtual environment with `python3.11 -m venv /path/to/venv`
3. select the venv in PyCharm