Skip to content

Commit 9ce303b

Browse files
committed
Readme for buildenv
1 parent b8108cb commit 9ce303b

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

PyQt5-stubs/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "5.13.1.2"
1+
__version__ = "5.13.1.4"

buildenv/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Using the buildenv
2+
3+
The buildenv enables you to create new PyQt5-stubs from scratch.
4+
5+
## Usage
6+
7+
### 1. Update build_pyq5.sh to the latest versions:
8+
9+
Set PYQT5_VERSION and SIP_VERSION according to the current version number on riverbankcomputing.com:
10+
11+
PyQt5: https://www.riverbankcomputing.com/software/pyqt/download5/
12+
SIP: https://www.riverbankcomputing.com/software/sip/download
13+
14+
### 2. Build docker image
15+
16+
Build the image with the following command:
17+
18+
```bash
19+
$ docker build -t pyqt-stubs .
20+
```
21+
22+
### 3. Run the docker image
23+
24+
```bash
25+
$ docker run -it --rm pyqt5-stubs
26+
```
27+
28+
If everything went fine you will find the stub files in the buildenv/stubs directory.
29+
30+
### 4. Create a new branch and replace older modified stub files
31+
32+
Change to PyQt5-stubs directory and create a branch with the current version
33+
number and *.org* suffix (e.g. 5.13.1.org). Replace the existing stub file with
34+
the freshly created ones.

0 commit comments

Comments
 (0)