cmeel 0.53.2__tar.gz → 0.54.2__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.

@@ -0,0 +1,2 @@
1
+ .*.un~
2
+ *.orig
@@ -1,33 +1,27 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: cmeel
3
- Version: 0.53.2
3
+ Version: 0.54.2
4
4
  Summary: Create Wheel from CMake projects
5
- Home-page: https://github.com/cmake-wheel/cmeel
6
- License: BSD-2-Clause
7
- Author: Guilhem Saurel
8
- Author-email: guilhem.saurel@laas.fr
9
- Requires-Python: >=3.8,<4.0
10
- Classifier: License :: OSI Approved :: BSD License
5
+ Project-URL: Changelog, https://github.com/cmake-wheel/cmeel/blob/main/CHANGELOG.md
6
+ Project-URL: Documentation, https://cmeel.readthedocs.io/
7
+ Project-URL: Homepage, https://github.com/cmake-wheel/cmeel
8
+ Author-email: Guilhem Saurel <guilhem.saurel@laas.fr>
9
+ License-Expression: BSD-2-Clause
10
+ License-File: LICENSE
11
11
  Classifier: Operating System :: MacOS
12
12
  Classifier: Operating System :: POSIX :: Linux
13
13
  Classifier: Programming Language :: C++
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.8
16
- Classifier: Programming Language :: Python :: 3.9
17
- Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
19
- Classifier: Programming Language :: Python :: 3.12
20
15
  Classifier: Topic :: Software Development :: Build Tools
21
16
  Classifier: Topic :: System :: Archiving :: Packaging
22
17
  Classifier: Topic :: System :: Software Distribution
18
+ Requires-Python: >=3.8
19
+ Requires-Dist: tomli>=2.1.0; python_full_version < '3.11'
23
20
  Provides-Extra: build
24
- Requires-Dist: cmake (>=3.27.7,<4.0.0) ; extra == "build"
25
- Requires-Dist: git-archive-all (>=1.23.1,<2.0.0) ; extra == "build"
26
- Requires-Dist: packaging (>=23.2,<24.0) ; extra == "build"
27
- Requires-Dist: tomli (>=2.0.1,<3.0.0) ; python_version < "3.11"
28
- Requires-Dist: wheel (>=0.41.1,<0.43.0) ; extra == "build"
29
- Project-URL: Documentation, https://cmeel.readthedocs.io/
30
- Project-URL: changelog, https://github.com/cmake-wheel/cmeel/blob/main/CHANGELOG.md
21
+ Requires-Dist: cmake>=3.31.2; extra == 'build'
22
+ Requires-Dist: git-archive-all; extra == 'build'
23
+ Requires-Dist: packaging>=24.2; extra == 'build'
24
+ Requires-Dist: wheel>=0.45.1; extra == 'build'
31
25
  Description-Content-Type: text/markdown
32
26
 
33
27
  # CMake Wheel: cmeel
@@ -37,10 +31,10 @@ Description-Content-Type: text/markdown
37
31
  [![Documentation Status](https://readthedocs.org/projects/cmeel/badge/?version=latest)](https://cmeel.readthedocs.io/en/latest/?badge=latest)
38
32
 
39
33
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
40
- [![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
41
34
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
35
+ [![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)
42
36
 
43
- Wheel build backend using CMake, to package anything with pip and distribute on PyPI.
37
+ Wheel build backend using CMake, to package any CMake project with pip and distribute on PyPI.
44
38
 
45
39
  Following those relevant PEPs:
46
40
  - [PEP 427](https://peps.python.org/pep-0427/), The Wheel Binary Package Format 1.0
@@ -101,4 +95,3 @@ If you want to use the helpers provided by cmeel, to *eg*. test building a proje
101
95
 
102
96
  Otherwise, if you just want to use the build backend, there is no need to install anything: your frontent (*eg.* `pip`)
103
97
  should do this for you
104
-
@@ -5,10 +5,10 @@
5
5
  [![Documentation Status](https://readthedocs.org/projects/cmeel/badge/?version=latest)](https://cmeel.readthedocs.io/en/latest/?badge=latest)
6
6
 
7
7
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
8
- [![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
9
8
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
9
+ [![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
10
 
11
- Wheel build backend using CMake, to package anything with pip and distribute on PyPI.
11
+ Wheel build backend using CMake, to package any CMake project with pip and distribute on PyPI.
12
12
 
13
13
  Following those relevant PEPs:
14
14
  - [PEP 427](https://peps.python.org/pep-0427/), The Wheel Binary Package Format 1.0
@@ -1,4 +1,5 @@
1
1
  """Cmeel module."""
2
+
2
3
  # ruff: noqa: F401
3
4
 
4
5
  from .build import build_editable, build_sdist, build_wheel
@@ -2,6 +2,7 @@
2
2
 
3
3
  Parse various configuration files and environment variables.
4
4
  """
5
+
5
6
  import os
6
7
  import sys
7
8
  from pathlib import Path
@@ -79,7 +80,7 @@ class CmeelConfig:
79
80
  ]
80
81
  if project in self.conf:
81
82
  ret += self.conf[project].get("configure-args", [])
82
- if "CMEEL_CMAKE_ARGS" in configure_env and configure_env["CMEEL_CMAKE_ARGS"]:
83
+ if configure_env.get("CMEEL_CMAKE_ARGS"):
83
84
  ret += configure_env["CMEEL_CMAKE_ARGS"].split()
84
85
  return ret
85
86
 
@@ -1,4 +1,5 @@
1
1
  """Cmeel constants."""
2
+
2
3
  import os
3
4
  import sys
4
5
 
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env python
2
2
  """Helper to release a cmeel project."""
3
+
3
4
  from logging import getLogger
4
5
  from pathlib import Path
5
6
  from subprocess import check_call
@@ -1,4 +1,5 @@
1
1
  """Cmeel run."""
2
+
2
3
  import os
3
4
  import sys
4
5
  from pathlib import Path
@@ -1,4 +1,5 @@
1
1
  """Append cmeel prefix sitelib to sys.path."""
2
+
2
3
  import os
3
4
  import sys
4
5
  from pathlib import Path
@@ -11,7 +12,7 @@ SITELIB = os.sep.join( # noqa: PTH118
11
12
  )
12
13
  # ^^^
13
14
 
14
- sys.path.append(str(Path(__file__).parent.parent / CMEEL_PREFIX / SITELIB))
15
+ sys.path.append(str(Path(__file__).parent / CMEEL_PREFIX / SITELIB))
15
16
 
16
17
  for path in sys.path.copy():
17
18
  cmeel_sitelib = Path(path) / CMEEL_PREFIX / SITELIB
@@ -0,0 +1,74 @@
1
+ [build-system]
2
+ build-backend = "hatchling.build"
3
+ requires = ["hatchling"]
4
+
5
+ [dependency-groups]
6
+ dev = [
7
+ "build>=1.2.2.post1",
8
+ "furo>=2024.8.6",
9
+ "hatch>=1.14.0",
10
+ "mypy>=1.14.0",
11
+ "myst-parser>=4.0.0 ; python_full_version >= '3.10'",
12
+ "requests>=2.32.3",
13
+ "ruff>=0.8.4",
14
+ "sphinx>=7.1.2 ; python_full_version >= '3.10'",
15
+ ]
16
+
17
+ [project]
18
+ authors = [
19
+ {email = "guilhem.saurel@laas.fr", name = "Guilhem Saurel"},
20
+ ]
21
+ classifiers = [
22
+ "Operating System :: MacOS",
23
+ "Operating System :: POSIX :: Linux",
24
+ "Programming Language :: C++",
25
+ "Programming Language :: Python :: 3",
26
+ "Topic :: Software Development :: Build Tools",
27
+ "Topic :: System :: Archiving :: Packaging",
28
+ "Topic :: System :: Software Distribution",
29
+ ]
30
+ dependencies = [
31
+ "tomli>=2.1.0 ; python_full_version < '3.11'",
32
+ ]
33
+ description = "Create Wheel from CMake projects"
34
+ license = "BSD-2-Clause"
35
+ name = "cmeel"
36
+ readme = "README.md"
37
+ requires-python = ">=3.8"
38
+ version = "0.54.2"
39
+
40
+ [project.optional-dependencies]
41
+ build = [
42
+ "cmake>=3.31.2",
43
+ "git-archive-all",
44
+ "packaging>=24.2",
45
+ "wheel>=0.45.1",
46
+ ]
47
+
48
+ [project.scripts]
49
+ cmeel = "cmeel.__main__:main"
50
+
51
+ [project.urls]
52
+ Changelog = "https://github.com/cmake-wheel/cmeel/blob/main/CHANGELOG.md"
53
+ Documentation = "https://cmeel.readthedocs.io/"
54
+ Homepage = "https://github.com/cmake-wheel/cmeel"
55
+
56
+ [tool.hatch.build.targets.sdist]
57
+ include = ["cmeel", "cmeel.pth", "cmeel_pth.py"]
58
+
59
+ [tool.hatch.build.targets.wheel]
60
+ include = ["cmeel", "cmeel.pth", "cmeel_pth.py"]
61
+
62
+ [tool.ruff]
63
+ target-version = "py38"
64
+
65
+ [tool.ruff.lint]
66
+ extend-ignore = ["COM812", "D203", "D213"]
67
+ extend-select = ["A", "B", "C", "COM", "D", "EM", "EXE", "G", "I", "N", "PTH", "RET", "RUF", "UP", "W", "YTT"]
68
+
69
+ [tool.tomlsort]
70
+ all = true
71
+ trailing_comma_inline_array = true
72
+
73
+ [tool.uv.sources]
74
+ git-archive-all = {git = "https://github.com/nim65s/git-archive-all"}
@@ -1,69 +0,0 @@
1
- [build-system]
2
- build-backend = "poetry.core.masonry.api"
3
- requires = ["poetry-core>=1.0.0"]
4
-
5
- [tool.isort]
6
- profile = "black"
7
-
8
- [tool.poetry]
9
- authors = ["Guilhem Saurel <guilhem.saurel@laas.fr>"]
10
- classifiers = [
11
- "Operating System :: MacOS",
12
- "Operating System :: POSIX :: Linux",
13
- "Programming Language :: C++",
14
- "Programming Language :: Python :: 3",
15
- "Topic :: Software Development :: Build Tools",
16
- "Topic :: System :: Archiving :: Packaging",
17
- "Topic :: System :: Software Distribution"
18
- ]
19
- description = "Create Wheel from CMake projects"
20
- documentation = "https://cmeel.readthedocs.io/"
21
- homepage = "https://github.com/cmake-wheel/cmeel"
22
- include = ['cmeel.pth']
23
- license = "BSD-2-Clause"
24
- name = "cmeel"
25
- packages = [
26
- {include = "cmeel"},
27
- {include = "cmeel_pth.py"}
28
- ]
29
- readme = "README.md"
30
- version = "0.53.2"
31
-
32
- [tool.poetry.dependencies]
33
- cmake = {optional = true, version = "^3.27.7"}
34
- git-archive-all = {optional = true, version = "^1.23.1"}
35
- packaging = {optional = true, version = "^23.2"}
36
- python = "^3.8"
37
- tomli = {python = "< 3.11", version = "^2.0.1"}
38
- wheel = {optional = true, version = ">=0.41.1,<0.43.0"}
39
-
40
- [tool.poetry.extras]
41
- build = ["cmake", "git-archive-all", "packaging", "wheel"]
42
-
43
- [tool.poetry.group.dev]
44
- optional = true
45
-
46
- [tool.poetry.group.dev.dependencies]
47
- black = "^23.11.0"
48
- furo = "^2023.9.10"
49
- isort = "^5.12.0"
50
- mypy = "^1.7.1"
51
- myst-parser = "^2.0.0"
52
- requests = "^2.31.0"
53
- ruff = "^0.1.4"
54
- # safety = {allow-prereleases = true, version = "^2.4.0b1"} TODO: bump when they fix packaging support
55
- sphinx = {python = "^3.9", version = "^7.2.6"}
56
-
57
- [tool.poetry.scripts]
58
- cmeel = "cmeel.__main__:main"
59
-
60
- [tool.poetry.urls]
61
- changelog = "https://github.com/cmake-wheel/cmeel/blob/main/CHANGELOG.md"
62
-
63
- [tool.ruff]
64
- extend-ignore = ["D203", "D213"]
65
- extend-select = ["A", "B", "C", "COM", "D", "EM", "EXE", "G", "N", "PTH", "RET", "RUF", "UP", "W", "YTT"]
66
- target-version = "py37"
67
-
68
- [tool.tomlsort]
69
- all = true
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