partis-pyproj 0.1.7__tar.gz → 0.1.8__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.
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/PKG-INFO +8 -8
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/pyproject.toml +1 -1
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/backend.py +22 -19
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/builder/cmake.py +2 -2
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/pyproj.py +1 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/LICENSE.txt +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/README.md +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/__init__.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/_legacy_setup.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/_nonprintable.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/builder/__init__.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/builder/builder.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/builder/cargo.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/builder/download.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/builder/meson.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/builder/process.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/dist_file/__init__.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/dist_file/dist_base.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/dist_file/dist_binary.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/dist_file/dist_copy.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/dist_file/dist_source.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/dist_file/dist_targz.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/dist_file/dist_zip.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/file.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/legacy.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/load_module.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/norms.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/path/__init__.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/path/match.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/path/pattern.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/path/utils.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/pep.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/pkginfo.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/pptoml.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/template.py +0 -0
- {partis_pyproj-0.1.7 → partis_pyproj-0.1.8}/src/pyproj/validate.py +0 -0
@@ -1,26 +1,26 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: partis-pyproj
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.8
|
4
4
|
Requires-Python: >=3.8
|
5
5
|
Author-email: "Nanohmics Inc." <software.support@nanohmics.com>
|
6
6
|
Maintainer-email: "Nanohmics Inc." <software.support@nanohmics.com>
|
7
7
|
Summary: Minimal set of Python project utilities (PEP-517/621)
|
8
8
|
License-File: LICENSE.txt
|
9
|
-
Classifier: Development Status :: 4 - Beta
|
10
|
-
Classifier: Operating System :: POSIX :: Linux
|
11
|
-
Classifier: Topic :: Software Development :: Build Tools
|
12
|
-
Classifier: License :: OSI Approved :: BSD License
|
13
|
-
Classifier: Operating System :: Microsoft :: Windows
|
14
9
|
Classifier: Intended Audience :: Developers
|
15
10
|
Classifier: Programming Language :: Python
|
11
|
+
Classifier: License :: OSI Approved :: BSD License
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
13
|
+
Classifier: Topic :: Software Development :: Build Tools
|
16
14
|
Classifier: Programming Language :: Python :: 3
|
15
|
+
Classifier: Operating System :: Microsoft :: Windows
|
16
|
+
Classifier: Development Status :: 4 - Beta
|
17
17
|
Provides-Extra: meson
|
18
18
|
Provides-Extra: cmake
|
19
19
|
Requires-Dist: packaging>=24.2
|
20
|
-
Requires-Dist: requests>=2.32.3
|
21
20
|
Requires-Dist: tomli>=2.0.1
|
22
|
-
Requires-Dist:
|
21
|
+
Requires-Dist: requests>=2.32.3
|
23
22
|
Requires-Dist: ninja>=1.10.2.3; extra == "meson"
|
23
|
+
Requires-Dist: meson>=0.61.3; extra == "meson"
|
24
24
|
Requires-Dist: ninja>=1.10.2.3; extra == "cmake"
|
25
25
|
Requires-Dist: cmake>=3.24.3; extra == "cmake"
|
26
26
|
Description-Content-Type: text/markdown
|
@@ -1,8 +1,6 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
import os
|
3
|
-
|
4
|
-
import sys
|
5
|
-
import shutil
|
3
|
+
from copy import copy
|
6
4
|
import logging
|
7
5
|
from logging import (
|
8
6
|
basicConfig,
|
@@ -22,6 +20,7 @@ from collections.abc import (
|
|
22
20
|
|
23
21
|
from . import (
|
24
22
|
valid_keys,
|
23
|
+
ValidationError,
|
25
24
|
mapget,
|
26
25
|
dist_build,
|
27
26
|
PkgInfoReq,
|
@@ -34,7 +33,7 @@ def backend_init(
|
|
34
33
|
root: str|Path = '',
|
35
34
|
config_settings: dict|None = None,
|
36
35
|
logger: Logger|None = None ):
|
37
|
-
"""Called to
|
36
|
+
"""Called to initialize the backend upon a call to one of the hooks
|
38
37
|
|
39
38
|
Parameters
|
40
39
|
----------
|
@@ -210,26 +209,30 @@ def build_wheel(
|
|
210
209
|
* https://www.python.org/dev/peps/pep-0517/#build-wheel
|
211
210
|
"""
|
212
211
|
|
213
|
-
|
212
|
+
try:
|
213
|
+
pyproj = backend_init(config_settings = config_settings)
|
214
214
|
|
215
|
-
|
215
|
+
pyproj.dist_prep()
|
216
|
+
pyproj.dist_binary_prep()
|
216
217
|
|
217
|
-
|
218
|
+
with dist_binary_wheel(
|
219
|
+
pkg_info = pyproj.pkg_info,
|
220
|
+
build = dist_build(
|
221
|
+
pyproj.binary.get('build_number', None),
|
222
|
+
pyproj.binary.get('build_suffix', None) ),
|
223
|
+
compat = pyproj.binary.compat_tags,
|
224
|
+
outdir = wheel_directory,
|
225
|
+
logger = pyproj.logger ) as dist:
|
218
226
|
|
219
|
-
|
220
|
-
|
221
|
-
build = dist_build(
|
222
|
-
pyproj.binary.get('build_number', None),
|
223
|
-
pyproj.binary.get('build_suffix', None) ),
|
224
|
-
compat = pyproj.binary.compat_tags,
|
225
|
-
outdir = wheel_directory,
|
226
|
-
logger = pyproj.logger ) as dist:
|
227
|
+
pyproj.dist_binary_copy(
|
228
|
+
dist = dist )
|
227
229
|
|
228
|
-
pyproj.
|
229
|
-
|
230
|
+
pyproj.logger.info(
|
231
|
+
f"Top level packages {dist.top_level}")
|
230
232
|
|
231
|
-
|
232
|
-
|
233
|
+
except ValidationError as e:
|
234
|
+
known_exception_type = copy(e)
|
235
|
+
raise known_exception_type from None
|
233
236
|
|
234
237
|
return dist.outname
|
235
238
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|