PyQt-builder 1.18.1__tar.gz → 1.19.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/LICENSE +1 -1
  2. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/PKG-INFO +4 -26
  3. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/PyQt_builder.egg-info/PKG-INFO +4 -26
  4. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyproject.toml +4 -4
  5. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/_version.py +16 -3
  6. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/builder.py +6 -2
  7. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/bundle.py +16 -7
  8. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/qt_wheel.py +5 -3
  9. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/MANIFEST.in +0 -0
  10. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/PyQt_builder.egg-info/SOURCES.txt +0 -0
  11. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/PyQt_builder.egg-info/dependency_links.txt +0 -0
  12. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/PyQt_builder.egg-info/entry_points.txt +0 -0
  13. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/PyQt_builder.egg-info/requires.txt +0 -0
  14. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/PyQt_builder.egg-info/top_level.txt +0 -0
  15. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/README.md +0 -0
  16. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/__init__.py +0 -0
  17. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bindings.py +0 -0
  18. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/__init__.py +0 -0
  19. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/abstract_package.py +0 -0
  20. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/bundle_main.py +0 -0
  21. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-32/concrt140.dll +0 -0
  22. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-32/msvcp140.dll +0 -0
  23. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-32/msvcp140_1.dll +0 -0
  24. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-32/msvcp140_2.dll +0 -0
  25. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-32/vcruntime140.dll +0 -0
  26. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-64/concrt140.dll +0 -0
  27. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-64/msvcp140.dll +0 -0
  28. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-64/msvcp140_1.dll +0 -0
  29. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-64/msvcp140_2.dll +0 -0
  30. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-64/vcruntime140.dll +0 -0
  31. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/msvc-64/vcruntime140_1.dll +0 -0
  32. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/openssl-32/libcrypto-1_1.dll +0 -0
  33. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/openssl-32/libssl-1_1.dll +0 -0
  34. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/openssl-64/libcrypto-1_1-x64.dll +0 -0
  35. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/dlls/openssl-64/libssl-1_1-x64.dll +0 -0
  36. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/__init__.py +0 -0
  37. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt.py +0 -0
  38. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt3d.py +0 -0
  39. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt5.py +0 -0
  40. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt6.py +0 -0
  41. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt6_3d.py +0 -0
  42. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt6_charts.py +0 -0
  43. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt6_datavisualization.py +0 -0
  44. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt6_graphs.py +0 -0
  45. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt6_networkauth.py +0 -0
  46. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqt6_webengine.py +0 -0
  47. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqtchart.py +0 -0
  48. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqtdatavisualization.py +0 -0
  49. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqtnetworkauth.py +0 -0
  50. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqtpurchasing.py +0 -0
  51. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/packages/pyqtwebengine.py +0 -0
  52. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/qt_metadata.py +0 -0
  53. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/qt_wheel_distinfo/LICENSE.gpl3 +0 -0
  54. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/qt_wheel_distinfo/LICENSE.lgpl3 +0 -0
  55. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/qt_wheel_distinfo/METADATA +0 -0
  56. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/qt_wheel_distinfo/WHEEL +0 -0
  57. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/qt_wheel_main.py +0 -0
  58. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/verbose.py +0 -0
  59. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/bundle/wheel.py +0 -0
  60. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/installable.py +0 -0
  61. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/project.py +0 -0
  62. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/pyqtbuild/version.py +0 -0
  63. {pyqt_builder-1.18.1 → pyqt_builder-1.19.0}/setup.cfg +0 -0
@@ -1,4 +1,4 @@
1
- Copyright 2024 Phil Thompson <phil@riverbankcomputing.com>
1
+ Copyright 2025 Phil Thompson <phil@riverbankcomputing.com>
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without
4
4
  modification, are permitted provided that the following conditions are met:
@@ -1,38 +1,16 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: PyQt-builder
3
- Version: 1.18.1
3
+ Version: 1.19.0
4
4
  Summary: The PyQt build system
5
5
  Author-email: Phil Thompson <phil@riverbankcomputing.com>
6
- License: Copyright 2024 Phil Thompson <phil@riverbankcomputing.com>
7
-
8
- Redistribution and use in source and binary forms, with or without
9
- modification, are permitted provided that the following conditions are met:
10
-
11
- 1. Redistributions of source code must retain the above copyright notice, this
12
- list of conditions and the following disclaimer.
13
-
14
- 2. Redistributions in binary form must reproduce the above copyright notice,
15
- this list of conditions and the following disclaimer in the documentation
16
- and/or other materials provided with the distribution.
17
-
18
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
19
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
-
6
+ License-Expression: BSD-2-Clause
29
7
  Project-URL: homepage, https://github.com/Python-PyQt/PyQt-builder
30
- Classifier: License :: OSI Approved :: BSD License
31
8
  Requires-Python: >=3.8
32
9
  Description-Content-Type: text/markdown
33
10
  License-File: LICENSE
34
11
  Requires-Dist: packaging
35
12
  Requires-Dist: sip<7,>=6.7
13
+ Dynamic: license-file
36
14
 
37
15
  # PyQt-builder - the PyQt Build System
38
16
 
@@ -1,38 +1,16 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: PyQt-builder
3
- Version: 1.18.1
3
+ Version: 1.19.0
4
4
  Summary: The PyQt build system
5
5
  Author-email: Phil Thompson <phil@riverbankcomputing.com>
6
- License: Copyright 2024 Phil Thompson <phil@riverbankcomputing.com>
7
-
8
- Redistribution and use in source and binary forms, with or without
9
- modification, are permitted provided that the following conditions are met:
10
-
11
- 1. Redistributions of source code must retain the above copyright notice, this
12
- list of conditions and the following disclaimer.
13
-
14
- 2. Redistributions in binary form must reproduce the above copyright notice,
15
- this list of conditions and the following disclaimer in the documentation
16
- and/or other materials provided with the distribution.
17
-
18
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
19
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
-
6
+ License-Expression: BSD-2-Clause
29
7
  Project-URL: homepage, https://github.com/Python-PyQt/PyQt-builder
30
- Classifier: License :: OSI Approved :: BSD License
31
8
  Requires-Python: >=3.8
32
9
  Description-Content-Type: text/markdown
33
10
  License-File: LICENSE
34
11
  Requires-Dist: packaging
35
12
  Requires-Dist: sip<7,>=6.7
13
+ Dynamic: license-file
36
14
 
37
15
  # PyQt-builder - the PyQt Build System
38
16
 
@@ -1,7 +1,7 @@
1
- # The project configuration for sip.
1
+ # The project configuration for PyQt-builder.
2
2
 
3
3
  [build-system]
4
- requires = ["setuptools>=64", "setuptools_scm>=8"]
4
+ requires = ["setuptools>=77", "setuptools_scm>=8"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [tool.setuptools_scm]
@@ -14,8 +14,8 @@ readme = "README.md"
14
14
  urls.homepage = "https://github.com/Python-PyQt/PyQt-builder"
15
15
  dependencies = ["packaging", "sip >=6.7, <7"]
16
16
  requires-python = ">=3.8"
17
- license = {file = "LICENSE"}
18
- classifiers = ["License :: OSI Approved :: BSD License"]
17
+ license = "BSD-2-Clause"
18
+ license-files = ["LICENSE"]
19
19
  dynamic = ["version"]
20
20
 
21
21
  [[project.authors]]
@@ -1,7 +1,14 @@
1
1
  # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
3
 
4
- __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
5
12
 
6
13
  TYPE_CHECKING = False
7
14
  if TYPE_CHECKING:
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
9
16
  from typing import Union
10
17
 
11
18
  VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
12
20
  else:
13
21
  VERSION_TUPLE = object
22
+ COMMIT_ID = object
14
23
 
15
24
  version: str
16
25
  __version__: str
17
26
  __version_tuple__: VERSION_TUPLE
18
27
  version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
19
30
 
20
- __version__ = version = '1.18.1'
21
- __version_tuple__ = version_tuple = (1, 18, 1)
31
+ __version__ = version = '1.19.0'
32
+ __version_tuple__ = version_tuple = (1, 19, 0)
33
+
34
+ __commit_id__ = commit_id = 'g2c1ca1c73'
@@ -1,6 +1,6 @@
1
1
  # SPDX-License-Identifier: BSD-2-Clause
2
2
 
3
- # Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
3
+ # Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
4
4
 
5
5
 
6
6
  import os
@@ -103,9 +103,13 @@ class QmakeBuilder(Builder):
103
103
  if self.qt_version >= 0x060000:
104
104
  from platform import processor
105
105
 
106
- # The arm64 build is based on Ubuntu 24.04 specifically.
107
106
  if processor() == 'aarch64':
107
+ # The arm64 build is based on Ubuntu 24.04.
108
108
  project.minimum_glibc_version = '2.39'
109
+ elif self.qt_version >= 0x060a00:
110
+ # The Qt v6.10 installer seems to be based on Ubuntu
111
+ # 22.04 or similar.
112
+ project.minimum_glibc_version = '2.34'
109
113
  else:
110
114
  project.minimum_glibc_version = '2.28'
111
115
  else:
@@ -10,6 +10,7 @@ import shutil
10
10
  from sipbuild import UserException
11
11
 
12
12
  from . import packages
13
+ from .abstract_package import AbstractPackage
13
14
  from .verbose import verbose
14
15
  from .wheel import create_wheel, unpack_wheel, write_record_file
15
16
 
@@ -50,15 +51,23 @@ def bundle(wheel_path, qt_dir, build_tag_suffix, msvc_runtime, openssl,
50
51
  "'{0}' is not supported by {1}".format(arch, wheel_name))
51
52
 
52
53
  # Get the package object.
53
- sub_parts = parts[0].split('_')
54
- if sub_parts[-1] == 'commercial':
55
- sub_parts.pop()
54
+ package_title = parts[0]
55
+ if package_title.endswith('_commercial'):
56
+ package_title = package_title[:-11]
56
57
 
57
- package_name = '_'.join(sub_parts)
58
- package_title = package_name.replace('_', '-')
59
- package_factory = packages.__dict__.get(package_name)
58
+ package_name = package_title.lower()
60
59
 
61
- if package_factory is None:
60
+ # Look for the factory corresponding to the normalised package name.
61
+ for key, value in packages.__dict__.items():
62
+ # This is the name of an intermediate class so explicity exclude it.
63
+ # It can only happen if the user has been changing the wheel names.
64
+ if key == 'PyQt':
65
+ continue
66
+
67
+ if key.lower() == package_name and isinstance(value, type) and issubclass(value, AbstractPackage):
68
+ package_factory = value
69
+ break
70
+ else:
62
71
  raise UserException(
63
72
  "'{0}' is not a supported package".format(package_title))
64
73
 
@@ -1,6 +1,6 @@
1
1
  # SPDX-License-Identifier: BSD-2-Clause
2
2
 
3
- # Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
3
+ # Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
4
4
 
5
5
 
6
6
  import os
@@ -47,7 +47,9 @@ def qt_wheel(package, qt_dir, build_tag, suffix, msvc_runtime, openssl,
47
47
  else:
48
48
  wheel_arch = 'x86_64'
49
49
 
50
- if package.qt_version >= (6, 0, 0):
50
+ if package.qt_version >= (6, 10, 0):
51
+ manylinux = '_2_34'
52
+ elif package.qt_version >= (6, 0, 0):
51
53
  manylinux = '_2_28'
52
54
  else:
53
55
  manylinux = '2014'
@@ -109,7 +111,7 @@ def qt_wheel(package, qt_dir, build_tag, suffix, msvc_runtime, openssl,
109
111
  package_requires = ''
110
112
 
111
113
  # Construct the name of the wheel.
112
- name_parts = [package_full_name.replace('-', '_')]
114
+ name_parts = [package_full_name.replace('-', '_').lower()]
113
115
  name_parts.append(version_str)
114
116
 
115
117
  distinfo_dir = '-'.join(name_parts) + '.dist-info'
File without changes
File without changes
File without changes