cmeel 0.44.0__tar.gz → 0.45.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.1
2
2
  Name: cmeel
3
- Version: 0.44.0
3
+ Version: 0.45.0
4
4
  Summary: Create Wheel from CMake projects
5
5
  Home-page: https://github.com/cmake-wheel/cmeel
6
6
  License: BSD-2-Clause
@@ -30,7 +30,7 @@ Project-URL: Documentation, https://cmeel.readthedocs.io/
30
30
  Project-URL: changelog, https://github.com/cmake-wheel/cmeel/blob/main/CHANGELOG.md
31
31
  Description-Content-Type: text/markdown
32
32
 
33
- # CMake Wheel
33
+ # CMake Wheel: cmeel
34
34
 
35
35
  [![PyPI version](https://badge.fury.io/py/cmeel.svg)](https://pypi.org/project/cmeel)
36
36
  [![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)
@@ -1,4 +1,4 @@
1
- # CMake Wheel
1
+ # CMake Wheel: cmeel
2
2
 
3
3
  [![PyPI version](https://badge.fury.io/py/cmeel.svg)](https://pypi.org/project/cmeel)
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)
@@ -58,9 +58,14 @@ def parse_args() -> argparse.Namespace:
58
58
  sys.exit(0)
59
59
 
60
60
 
61
- if __name__ == "__main__":
61
+ def main():
62
+ """Run helpers."""
62
63
  args = parse_args()
63
64
  if args.cmd == "docker":
64
65
  docker_build(**vars(args))
65
66
  else:
66
67
  print(get_paths(**vars(args)))
68
+
69
+
70
+ if __name__ == "__main__":
71
+ main()
@@ -8,8 +8,6 @@ from pathlib import Path
8
8
  from tempfile import TemporaryDirectory
9
9
  from typing import Any, Dict, List, Optional, Union
10
10
 
11
- from .env import get_paths
12
-
13
11
  try:
14
12
  import tomllib # type: ignore
15
13
  except ModuleNotFoundError:
@@ -97,11 +95,7 @@ class CmeelConfig:
97
95
  def get_test_env(self) -> Dict[str, str]:
98
96
  """Get test environment."""
99
97
  ret = self.env.copy()
100
- ret.update(
101
- CTEST_OUTPUT_ON_FAILURE="1",
102
- CTEST_PARALLEL_LEVEL=self.test_jobs,
103
- LD_LIBRARY_PATH=get_paths("lib", True),
104
- )
98
+ ret.update(CTEST_OUTPUT_ON_FAILURE="1", CTEST_PARALLEL_LEVEL=self.test_jobs)
105
99
  return ret
106
100
 
107
101
  def _get_available_prefix(self) -> Optional[str]:
@@ -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.44.0"
26
+ version = "0.45.0"
27
27
 
28
28
  [tool.poetry.dependencies]
29
29
  cmake = {optional = true, version = "^3.22.3"}
@@ -50,6 +50,9 @@ ruff = "^0.0.264"
50
50
  safety = {allow-prereleases = true, version = "^2.4.0b1"}
51
51
  sphinx = "^5.3.0"
52
52
 
53
+ [tool.poetry.scripts]
54
+ cmeel = "cmeel.__main__:main"
55
+
53
56
  [tool.poetry.urls]
54
57
  changelog = "https://github.com/cmake-wheel/cmeel/blob/main/CHANGELOG.md"
55
58
 
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