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

2
.idea/misc.xml generated
View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (krowlog)" project-jdk-type="Python SDK" />
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (krowlog)" project-jdk-type="Python SDK" />
</project>

3
.idea/ravenlog.iml generated
View File

@@ -4,8 +4,9 @@
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv310" />
<excludeFolder url="file://$MODULE_DIR$/3rd-party" />
<excludeFolder url="file://$MODULE_DIR$/venv311" />
</content>
<orderEntry type="jdk" jdkName="Python 3.10 (krowlog)" jdkType="Python SDK" />
<orderEntry type="jdk" jdkName="Python 3.11 (krowlog)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

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