cmeel 0.51.1__tar.gz → 0.52.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.51.1 → cmeel-0.52.1}/PKG-INFO +2 -2
- {cmeel-0.51.1 → cmeel-0.52.1}/README.md +1 -1
- cmeel-0.52.1/cmeel/consts.py +10 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/utils.py +3 -1
- {cmeel-0.51.1 → cmeel-0.52.1}/pyproject.toml +3 -3
- cmeel-0.51.1/cmeel/consts.py +0 -8
- {cmeel-0.51.1 → cmeel-0.52.1}/LICENSE +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/__init__.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/__main__.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/backports.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/build.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/cmeel.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/config.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/docker.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/env.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/impl.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/metadata.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/pth.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/release.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/run.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel/sdist.py +0 -0
- {cmeel-0.51.1 → cmeel-0.52.1}/cmeel.pth +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cmeel
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.52.1
|
|
4
4
|
Summary: Create Wheel from CMake projects
|
|
5
5
|
Home-page: https://github.com/cmake-wheel/cmeel
|
|
6
6
|
License: BSD-2-Clause
|
|
@@ -66,7 +66,7 @@ This Install in `${PYTHON_SITELIB}/cmeel.prefix/`:
|
|
|
66
66
|
packages work out of the box
|
|
67
67
|
- Existing `${PYTHON_SITELIB}/cmeel.prefix` are automatically added to `$CMAKE_PREFIX_PATH`, so we can build CMake
|
|
68
68
|
packages whose dependencies are provided by other packages installed with cmeel
|
|
69
|
-
- Stuff in `${PYTHON_SITELIB}/cmeel.prefix/bin` is exposed via `cmeel.run:cmeel_run
|
|
69
|
+
- Stuff in `${PYTHON_SITELIB}/cmeel.prefix/bin` is exposed via `cmeel.run:cmeel_run`, or copied if start with a shebang
|
|
70
70
|
|
|
71
71
|
## Basic pyproject.toml example
|
|
72
72
|
|
|
@@ -34,7 +34,7 @@ This Install in `${PYTHON_SITELIB}/cmeel.prefix/`:
|
|
|
34
34
|
packages work out of the box
|
|
35
35
|
- Existing `${PYTHON_SITELIB}/cmeel.prefix` are automatically added to `$CMAKE_PREFIX_PATH`, so we can build CMake
|
|
36
36
|
packages whose dependencies are provided by other packages installed with cmeel
|
|
37
|
-
- Stuff in `${PYTHON_SITELIB}/cmeel.prefix/bin` is exposed via `cmeel.run:cmeel_run
|
|
37
|
+
- Stuff in `${PYTHON_SITELIB}/cmeel.prefix/bin` is exposed via `cmeel.run:cmeel_run`, or copied if start with a shebang
|
|
38
38
|
|
|
39
39
|
## Basic pyproject.toml example
|
|
40
40
|
|
|
@@ -173,8 +173,10 @@ def expose_bin(install: Path, wheel_dir: Path, distribution: str):
|
|
|
173
173
|
scripts.mkdir(parents=True)
|
|
174
174
|
for fn in bin_dir.glob("*"):
|
|
175
175
|
executable = scripts / fn.name
|
|
176
|
+
with fn.open("rb") as fo:
|
|
177
|
+
is_script = fo.read(2) == b"#!"
|
|
176
178
|
with executable.open("w") as fe:
|
|
177
|
-
fe.write(EXECUTABLE)
|
|
179
|
+
fe.write(fn.read_text() if is_script else EXECUTABLE)
|
|
178
180
|
executable.chmod(0o755)
|
|
179
181
|
|
|
180
182
|
|
|
@@ -23,7 +23,7 @@ include = ['cmeel.pth']
|
|
|
23
23
|
license = "BSD-2-Clause"
|
|
24
24
|
name = "cmeel"
|
|
25
25
|
readme = "README.md"
|
|
26
|
-
version = "0.
|
|
26
|
+
version = "0.52.1"
|
|
27
27
|
|
|
28
28
|
[tool.poetry.dependencies]
|
|
29
29
|
cmake = {optional = true, version = "^3.27.7"}
|
|
@@ -40,10 +40,10 @@ build = ["cmake", "git-archive-all", "packaging", "wheel"]
|
|
|
40
40
|
optional = true
|
|
41
41
|
|
|
42
42
|
[tool.poetry.group.dev.dependencies]
|
|
43
|
-
black = "^23.
|
|
43
|
+
black = "^23.11.0"
|
|
44
44
|
furo = "^2023.9.10"
|
|
45
45
|
isort = "^5.12.0"
|
|
46
|
-
mypy = "^1.
|
|
46
|
+
mypy = "^1.7.0"
|
|
47
47
|
myst-parser = "^2.0.0"
|
|
48
48
|
requests = "^2.31.0"
|
|
49
49
|
ruff = "^0.1.4"
|
cmeel-0.51.1/cmeel/consts.py
DELETED
|
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
|