cmeel 0.57.1__tar.gz → 0.57.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cmeel
3
- Version: 0.57.1
3
+ Version: 0.57.3
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/
@@ -52,7 +52,10 @@ def sdist_impl(sdist_directory) -> str:
52
52
  LOG.info("create final archive with previous one + PKG-INFO")
53
53
  with tarfile.open(tmp_tar, "r") as tr, tarfile.open(def_tar, "w:gz") as tw:
54
54
  for member in tr.getmembers():
55
- tw.addfile(member, tr.extractfile(member.name))
55
+ fileobj = None
56
+ if member.type not in [tarfile.LNKTYPE, tarfile.SYMTYPE]:
57
+ fileobj = tr.extractfile(member)
58
+ tw.addfile(member, fileobj)
56
59
  tw.add(str(tmp_pkg), f"{distribution}/PKG-INFO")
57
60
 
58
61
  return distribution
@@ -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.57.1"
38
+ version = "0.57.3"
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
File without changes
File without changes
File without changes