File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1
- __version__ = "5.13.1.2 "
1
+ __version__ = "5.13.1.4 "
Original file line number Diff line number Diff line change
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.
You can’t perform that action at this time.
0 commit comments