cmeel 0.55.0__tar.gz → 0.57.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.

Potentially problematic release.


This version of cmeel might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cmeel
3
- Version: 0.55.0
3
+ Version: 0.57.0
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/
@@ -30,7 +30,6 @@ Description-Content-Type: text/markdown
30
30
  [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/cmake-wheel/cmeel/main.svg)](https://results.pre-commit.ci/latest/github/cmake-wheel/cmeel/main)
31
31
  [![Documentation Status](https://readthedocs.org/projects/cmeel/badge/?version=latest)](https://cmeel.readthedocs.io/en/latest/?badge=latest)
32
32
 
33
- [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
34
33
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
35
34
  [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
36
35
 
@@ -42,7 +41,7 @@ Following those relevant PEPs:
42
41
  - [PEP 518](https://peps.python.org/pep-0518/), Specifying Minimum Build System Requirements for Python Projects
43
42
  - [PEP 600](https://peps.python.org/pep-0600/), Future ‘manylinux’ Platform Tags for Portable Linux Built Distributions
44
43
  - [PEP 621](https://peps.python.org/pep-0621/), Storing project metadata in pyproject.toml
45
- - [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata, **DRAFT**
44
+ - [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata
46
45
  - [PEP 660](https://peps.python.org/pep-0660/), Editable installs for pyproject.toml based builds (wheel based)
47
46
 
48
47
  ## Chat
@@ -51,9 +50,8 @@ https://matrix.to/#/#cmake-wheel:matrix.org
51
50
 
52
51
  ## Basic idea
53
52
 
54
- Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install
55
-
56
- 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/`:
57
55
  - As there is a dot, it is not a valid python module name, so no risk of importing anything there by mistake
58
56
  - Play well with others, as everything is confined to `${PYTHON_SITELIB}/cmeel.prefix`
59
57
  - `${PYTHON_SITELIB}/cmeel.pth` automatically load `${PYTHON_SITELIB}/cmeel.prefix/${PYTHON_SITELIB}`, so python
@@ -67,22 +65,22 @@ This Install in `${PYTHON_SITELIB}/cmeel.prefix/`:
67
65
  extract from https://github.com/cmake-wheel/cmeel-example/blob/main/pyproject.toml:
68
66
 
69
67
  ```toml
68
+ [build-system]
69
+ build-backend = "cmeel"
70
+ requires = ["cmeel[build]"]
71
+
70
72
  [project]
71
- name = "cmeel-example"
72
- version = "0.4.12"
73
+ authors = [{email = "guilhem.saurel@laas.fr", name = "Guilhem Saurel"}]
73
74
  description = "This is an example project, to show how to use cmeel"
74
- requires-python = ">= 3.7"
75
75
  license = "BSD-2-Clause"
76
- authors = [{name = "Guilhem Saurel", email = "guilhem.saurel@laas.fr"}]
76
+ name = "cmeel-example"
77
+ requires-python = ">= 3.8"
78
+ version = "0.7.0"
77
79
 
78
80
  [project.urls]
81
+ changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
79
82
  homepage = "https://github.com/cmake-wheel/cmeel-example"
80
83
  repository = "https://github.com/cmake-wheel/cmeel-example.git"
81
- changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
82
-
83
- [build-system]
84
- requires = ["cmeel[build]"]
85
- build-backend = "cmeel"
86
84
  ```
87
85
 
88
86
  Complete specification is available at:
@@ -4,7 +4,6 @@
4
4
  [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/cmake-wheel/cmeel/main.svg)](https://results.pre-commit.ci/latest/github/cmake-wheel/cmeel/main)
5
5
  [![Documentation Status](https://readthedocs.org/projects/cmeel/badge/?version=latest)](https://cmeel.readthedocs.io/en/latest/?badge=latest)
6
6
 
7
- [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
8
7
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
9
8
  [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
10
9
 
@@ -16,7 +15,7 @@ Following those relevant PEPs:
16
15
  - [PEP 518](https://peps.python.org/pep-0518/), Specifying Minimum Build System Requirements for Python Projects
17
16
  - [PEP 600](https://peps.python.org/pep-0600/), Future ‘manylinux’ Platform Tags for Portable Linux Built Distributions
18
17
  - [PEP 621](https://peps.python.org/pep-0621/), Storing project metadata in pyproject.toml
19
- - [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata, **DRAFT**
18
+ - [PEP 639](https://peps.python.org/pep-0639/), Improving License Clarity with Better Package Metadata
20
19
  - [PEP 660](https://peps.python.org/pep-0660/), Editable installs for pyproject.toml based builds (wheel based)
21
20
 
22
21
  ## Chat
@@ -25,9 +24,8 @@ https://matrix.to/#/#cmake-wheel:matrix.org
25
24
 
26
25
  ## Basic idea
27
26
 
28
- Glue between PEP 517 & 660 entry points and modern CMake standard project configuration / build / test / install
29
-
30
- 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/`:
31
29
  - As there is a dot, it is not a valid python module name, so no risk of importing anything there by mistake
32
30
  - Play well with others, as everything is confined to `${PYTHON_SITELIB}/cmeel.prefix`
33
31
  - `${PYTHON_SITELIB}/cmeel.pth` automatically load `${PYTHON_SITELIB}/cmeel.prefix/${PYTHON_SITELIB}`, so python
@@ -41,22 +39,22 @@ This Install in `${PYTHON_SITELIB}/cmeel.prefix/`:
41
39
  extract from https://github.com/cmake-wheel/cmeel-example/blob/main/pyproject.toml:
42
40
 
43
41
  ```toml
42
+ [build-system]
43
+ build-backend = "cmeel"
44
+ requires = ["cmeel[build]"]
45
+
44
46
  [project]
45
- name = "cmeel-example"
46
- version = "0.4.12"
47
+ authors = [{email = "guilhem.saurel@laas.fr", name = "Guilhem Saurel"}]
47
48
  description = "This is an example project, to show how to use cmeel"
48
- requires-python = ">= 3.7"
49
49
  license = "BSD-2-Clause"
50
- authors = [{name = "Guilhem Saurel", email = "guilhem.saurel@laas.fr"}]
50
+ name = "cmeel-example"
51
+ requires-python = ">= 3.8"
52
+ version = "0.7.0"
51
53
 
52
54
  [project.urls]
55
+ changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
53
56
  homepage = "https://github.com/cmake-wheel/cmeel-example"
54
57
  repository = "https://github.com/cmake-wheel/cmeel-example.git"
55
- changelog = "https://github.com/cmake-wheel/cmeel-example/blob/main/CHANGELOG.md"
56
-
57
- [build-system]
58
- requires = ["cmeel[build]"]
59
- build-backend = "cmeel"
60
58
  ```
61
59
 
62
60
  Complete specification is available at:
@@ -36,6 +36,7 @@ class CmeelConfig:
36
36
  self.env = environ.copy()
37
37
  else:
38
38
  self.env = {p: environ[p] for p in ["PATH", "PYTHONPATH"]}
39
+ self.env["CMEEL_BUILD"] = "1"
39
40
  self.jobs = int(self.conf.get("jobs", self.env.get("CMEEL_JOBS", "4")))
40
41
  self.test_jobs = self.conf.get(
41
42
  "test-jobs",
@@ -23,7 +23,7 @@ def add_docker_arguments(subparsers):
23
23
  sub.add_argument(
24
24
  "-p",
25
25
  "--python",
26
- default="python3.11",
26
+ default="python3.13",
27
27
  help="python interpreter inside that image",
28
28
  )
29
29
  sub.add_argument(
@@ -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.1",
236
+ "Metadata-Version: 2.4",
237
237
  f"Name: {conf['name']}",
238
238
  f"Version: {conf['version']}",
239
239
  f"Summary: {conf['description']}",
@@ -35,7 +35,7 @@ license = "BSD-2-Clause"
35
35
  name = "cmeel"
36
36
  readme = "README.md"
37
37
  requires-python = ">=3.8"
38
- version = "0.55.0"
38
+ version = "0.57.0"
39
39
 
40
40
  [project.optional-dependencies]
41
41
  build = [
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