diff options
-rw-r--r-- | build_scripts/main.py | 2 | ||||
-rw-r--r-- | setup.py | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py index 50f751caa..fdc5f4a08 100644 --- a/build_scripts/main.py +++ b/build_scripts/main.py @@ -140,7 +140,7 @@ def check_allowed_python_version(): """ import re - pattern = "Programming Language :: Python :: (\d+)\.(\d+)" + pattern = r'Programming Language :: Python :: (\d+)\.(\d+)' supported = [] for line in config.python_version_classifiers: @@ -95,7 +95,7 @@ For Windows, if OpenSSL support is required, it's necessary to specify the directory path that contains the OpenSSL shared libraries "libeay32.dll" and "ssleay32.dll", for example: - --openssl=C:\OpenSSL-Win64\bin + --openssl=C:\\OpenSSL-Win64\\bin This will make sure that the libraries are copied into the PySide2 package and are found by the QtNetwork module. @@ -122,17 +122,17 @@ e.g.: * First, we create a bdist_wheel from a full PySide2 build: - python setup.py bdist_wheel --qmake=c:\Qt\5.12\bin\qmake.exe - --cmake=c:\tools\cmake\bin\cmake.exe - --openssl=c:\libs\OpenSSL32bit\bin + python setup.py bdist_wheel --qmake=c:\\Qt\\5.12\\bin\\qmake.exe + --cmake=c:\\tools\\cmake\\bin\\cmake.exe + --openssl=c:\\libs\\OpenSSL32bit\\bin * Then, we create a bdist_egg reusing the PySide2 build with option `--only-package`: python setup.py bdist_egg --only-package - --qmake=c:\Qt\5.12\bin\qmake.exe - --cmake=c:\tools\cmake\bin\cmake.exe - --openssl=c:\libs\OpenSSL32bit\bin + --qmake=c:\\Qt\\5.12\\bin\\qmake.exe + --cmake=c:\\tools\\cmake\\bin\\cmake.exe + --openssl=c:\\libs\\OpenSSL32bit\\bin You can use the option `--qt-conf-prefix` to pass a path relative to the PySide2 installed package, which will be embedded into an |