cmeel 0.56.0__tar.gz → 0.57.1__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.
Potentially problematic release.
This version of cmeel might be problematic. Click here for more details.
- {cmeel-0.56.0 → cmeel-0.57.1}/PKG-INFO +13 -14
- {cmeel-0.56.0 → cmeel-0.57.1}/README.md +12 -13
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/metadata.py +2 -2
- {cmeel-0.56.0 → cmeel-0.57.1}/pyproject.toml +1 -1
- {cmeel-0.56.0 → cmeel-0.57.1}/.gitignore +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/LICENSE +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/__init__.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/__main__.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/backports.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/build.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/cmeel.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/config.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/consts.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/docker.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/env.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/impl.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/release.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/run.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/sdist.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel/utils.py +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel.pth +0 -0
- {cmeel-0.56.0 → cmeel-0.57.1}/cmeel_pth.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cmeel
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.57.1
|
|
4
4
|
Summary: Create Wheel from CMake projects
|
|
5
5
|
Project-URL: Changelog, https://github.com/cmake-wheel/cmeel/blob/main/CHANGELOG.md
|
|
6
6
|
Project-URL: Documentation, https://cmeel.readthedocs.io/
|
|
@@ -41,7 +41,7 @@ Following those relevant PEPs:
|
|
|
41
41
|
- [PEP 518](https://peps.python.org/pep-0518/), Specifying Minimum Build System Requirements for Python Projects
|
|
42
42
|
- [PEP 600](https://peps.python.org/pep-0600/), Future ‘manylinux’ Platform Tags for Portable Linux Built Distributions
|
|
43
43
|
- [PEP 621](https://peps.python.org/pep-0621/), Storing project metadata in pyproject.toml
|
|
44
|
-
- [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata
|
|
44
|
+
- [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata
|
|
45
45
|
- [PEP 660](https://peps.python.org/pep-0660/), Editable installs for pyproject.toml based builds (wheel based)
|
|
46
46
|
|
|
47
47
|
## Chat
|
|
@@ -50,9 +50,8 @@ https://matrix.to/#/#cmake-wheel:matrix.org
|
|
|
50
50
|
|
|
51
51
|
## Basic idea
|
|
52
52
|
|
|
53
|
-
Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install
|
|
54
|
-
|
|
55
|
-
This Install in `${PYTHON_SITELIB}/cmeel.prefix/`:
|
|
53
|
+
Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install, and
|
|
54
|
+
install in `${PYTHON_SITELIB}/cmeel.prefix/`:
|
|
56
55
|
- As there is a dot, it is not a valid python module name, so no risk of importing anything there by mistake
|
|
57
56
|
- Play well with others, as everything is confined to `${PYTHON_SITELIB}/cmeel.prefix`
|
|
58
57
|
- `${PYTHON_SITELIB}/cmeel.pth` automatically load `${PYTHON_SITELIB}/cmeel.prefix/${PYTHON_SITELIB}`, so python
|
|
@@ -66,22 +65,22 @@ This Install in `${PYTHON_SITELIB}/cmeel.prefix/`:
|
|
|
66
65
|
extract from https://github.com/cmake-wheel/cmeel-example/blob/main/pyproject.toml:
|
|
67
66
|
|
|
68
67
|
```toml
|
|
68
|
+
[build-system]
|
|
69
|
+
build-backend = "cmeel"
|
|
70
|
+
requires = ["cmeel[build]"]
|
|
71
|
+
|
|
69
72
|
[project]
|
|
70
|
-
name = "
|
|
71
|
-
version = "0.4.12"
|
|
73
|
+
authors = [{email = "guilhem.saurel@laas.fr", name = "Guilhem Saurel"}]
|
|
72
74
|
description = "This is an example project, to show how to use cmeel"
|
|
73
|
-
requires-python = ">= 3.7"
|
|
74
75
|
license = "BSD-2-Clause"
|
|
75
|
-
|
|
76
|
+
name = "cmeel-example"
|
|
77
|
+
requires-python = ">= 3.8"
|
|
78
|
+
version = "0.7.0"
|
|
76
79
|
|
|
77
80
|
[project.urls]
|
|
81
|
+
changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
|
|
78
82
|
homepage = "https://github.com/cmake-wheel/cmeel-example"
|
|
79
83
|
repository = "https://github.com/cmake-wheel/cmeel-example.git"
|
|
80
|
-
changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
|
|
81
|
-
|
|
82
|
-
[build-system]
|
|
83
|
-
requires = ["cmeel[build]"]
|
|
84
|
-
build-backend = "cmeel"
|
|
85
84
|
```
|
|
86
85
|
|
|
87
86
|
Complete specification is available at:
|
|
@@ -15,7 +15,7 @@ Following those relevant PEPs:
|
|
|
15
15
|
- [PEP 518](https://peps.python.org/pep-0518/), Specifying Minimum Build System Requirements for Python Projects
|
|
16
16
|
- [PEP 600](https://peps.python.org/pep-0600/), Future ‘manylinux’ Platform Tags for Portable Linux Built Distributions
|
|
17
17
|
- [PEP 621](https://peps.python.org/pep-0621/), Storing project metadata in pyproject.toml
|
|
18
|
-
- [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata
|
|
18
|
+
- [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata
|
|
19
19
|
- [PEP 660](https://peps.python.org/pep-0660/), Editable installs for pyproject.toml based builds (wheel based)
|
|
20
20
|
|
|
21
21
|
## Chat
|
|
@@ -24,9 +24,8 @@ https://matrix.to/#/#cmake-wheel:matrix.org
|
|
|
24
24
|
|
|
25
25
|
## Basic idea
|
|
26
26
|
|
|
27
|
-
Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install
|
|
28
|
-
|
|
29
|
-
This Install in `${PYTHON_SITELIB}/cmeel.prefix/`:
|
|
27
|
+
Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install, and
|
|
28
|
+
install in `${PYTHON_SITELIB}/cmeel.prefix/`:
|
|
30
29
|
- As there is a dot, it is not a valid python module name, so no risk of importing anything there by mistake
|
|
31
30
|
- Play well with others, as everything is confined to `${PYTHON_SITELIB}/cmeel.prefix`
|
|
32
31
|
- `${PYTHON_SITELIB}/cmeel.pth` automatically load `${PYTHON_SITELIB}/cmeel.prefix/${PYTHON_SITELIB}`, so python
|
|
@@ -40,22 +39,22 @@ This Install in `${PYTHON_SITELIB}/cmeel.prefix/`:
|
|
|
40
39
|
extract from https://github.com/cmake-wheel/cmeel-example/blob/main/pyproject.toml:
|
|
41
40
|
|
|
42
41
|
```toml
|
|
42
|
+
[build-system]
|
|
43
|
+
build-backend = "cmeel"
|
|
44
|
+
requires = ["cmeel[build]"]
|
|
45
|
+
|
|
43
46
|
[project]
|
|
44
|
-
name = "
|
|
45
|
-
version = "0.4.12"
|
|
47
|
+
authors = [{email = "guilhem.saurel@laas.fr", name = "Guilhem Saurel"}]
|
|
46
48
|
description = "This is an example project, to show how to use cmeel"
|
|
47
|
-
requires-python = ">= 3.7"
|
|
48
49
|
license = "BSD-2-Clause"
|
|
49
|
-
|
|
50
|
+
name = "cmeel-example"
|
|
51
|
+
requires-python = ">= 3.8"
|
|
52
|
+
version = "0.7.0"
|
|
50
53
|
|
|
51
54
|
[project.urls]
|
|
55
|
+
changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
|
|
52
56
|
homepage = "https://github.com/cmake-wheel/cmeel-example"
|
|
53
57
|
repository = "https://github.com/cmake-wheel/cmeel-example.git"
|
|
54
|
-
changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
|
|
55
|
-
|
|
56
|
-
[build-system]
|
|
57
|
-
requires = ["cmeel[build]"]
|
|
58
|
-
build-backend = "cmeel"
|
|
59
58
|
```
|
|
60
59
|
|
|
61
60
|
Complete specification is available at:
|
|
@@ -34,7 +34,7 @@ def get_license(conf: Dict[str, Any], dist_info: Optional[Path]) -> List[str]:
|
|
|
34
34
|
for lic_file in lic_files:
|
|
35
35
|
metadata.append(f"License-File: {lic_file}")
|
|
36
36
|
path_src = Path(lic_file)
|
|
37
|
-
path_dst = dist_info / "
|
|
37
|
+
path_dst = dist_info / "licenses" / path_src
|
|
38
38
|
path_dst.parent.mkdir(parents=True, exist_ok=True)
|
|
39
39
|
with path_src.open("r") as f_src, path_dst.open("w") as f_dst:
|
|
40
40
|
f_dst.write(f_src.read())
|
|
@@ -233,7 +233,7 @@ def get_keywords(conf: Dict[str, Any]) -> List[str]:
|
|
|
233
233
|
def metadata(conf, requires: List[str], dist_info: Optional[Path] = None) -> List[str]:
|
|
234
234
|
"""Return the lines which should go in the METADATA / PKG-INFO file."""
|
|
235
235
|
return [
|
|
236
|
-
"Metadata-Version: 2.
|
|
236
|
+
"Metadata-Version: 2.4",
|
|
237
237
|
f"Name: {conf['name']}",
|
|
238
238
|
f"Version: {conf['version']}",
|
|
239
239
|
f"Summary: {conf['description']}",
|
|
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
|