git-annex 10.20250520b2__py3-none-win_amd64.whl → 10.20250520b3__py3-none-win_amd64.whl

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.
git_annex/__init__.py CHANGED
@@ -4,6 +4,20 @@ import sys
4
4
 
5
5
 
6
6
  def cli():
7
+ """Emulate a symlink to a binary.
8
+
9
+ This script essentially calls the `git-annex` binary that is shipped
10
+ with the package, but using the `argv` list (including a potentially
11
+ different executable name) pass to the script itself.
12
+
13
+ It relies on the `executable` argument of `subprocess.run()` to achieve
14
+ this.
15
+
16
+ This approach provides alternative means for git-annex's installation
17
+ method with symlinks pointing to a single binary, and works on platforms
18
+ without symlink support, and also in packages that cannot represent
19
+ symlinks.
20
+ """
7
21
  exe_dir = op.dirname(__file__)
8
22
  exe = op.join(
9
23
  exe_dir,
@@ -23,7 +37,7 @@ def cli():
23
37
  # try flush here to trigger a BrokenPipeError
24
38
  # within the try-except block so we can handle it
25
39
  # (happens if the calling process closed stdout
26
- # already
40
+ # already)
27
41
  sys.stdout.flush()
28
42
  except BrokenPipeError:
29
43
  # setting it to None prevents Python from trying to
git_annex/git-annex.exe CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-annex
3
- Version: 10.20250520b2
3
+ Version: 10.20250520b3
4
4
  Summary: manage files with git, without checking their contents into git
5
5
  Project-URL: Homepage, https://git-annex.branchable.com/
6
6
  Project-URL: Documentation, https://git-annex.branchable.com/git-annex
@@ -0,0 +1,10 @@
1
+ git_annex/__init__.py,sha256=jf81cahptAkcvJ28RYAhZ8FEsKJsGwmbTyjTW6Jq2iM,1519
2
+ git_annex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ git_annex/git-annex.exe,sha256=fDzctuiD05wz0ZUlEf7pLWlSSodw5mp77MbA-Xtx5FA,96280576
4
+ git_annex/libgnurx-0.dll,sha256=sVYpwWNjXDE3aE6FOtBJNmxt6lYkg3hMNZX3dzYa32g,382387
5
+ git_annex/libmagic-1.dll,sha256=rbOyhepldi0AEIwbE67uxXJHL3wMYdavKn7gatftMS8,1225472
6
+ git_annex/magic.mgc,sha256=_HtmpGIkc8M__H5mrJUJsbCJgZoGQURBbcDmLopuDRk,4873104
7
+ git_annex-10.20250520b3.dist-info/METADATA,sha256=oSi0YBEeYlpgonZrbdkWSeUy_stsSTm8xyYc_RnPgqs,4533
8
+ git_annex-10.20250520b3.dist-info/WHEEL,sha256=Vhj7RpPOKCXcsr4rUs7q4pISuo5nT6VsOuaQwH9GILY,94
9
+ git_annex-10.20250520b3.dist-info/entry_points.txt,sha256=BI1LqRvI7ETq6hOuPgaT9O9cmmHJwYS3SthvRoNS43s,146
10
+ git_annex-10.20250520b3.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- git_annex/__init__.py,sha256=ozwI6nWR3OmsbQXD0sDA7M6cWcE4UtUYtkd0VzpIFUI,928
2
- git_annex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- git_annex/git-annex.exe,sha256=zcw38QPaH2h1keKJx6yDeuuEIC5grD07wrRigr-JHes,96238592
4
- git_annex/libgnurx-0.dll,sha256=sVYpwWNjXDE3aE6FOtBJNmxt6lYkg3hMNZX3dzYa32g,382387
5
- git_annex/libmagic-1.dll,sha256=rbOyhepldi0AEIwbE67uxXJHL3wMYdavKn7gatftMS8,1225472
6
- git_annex/magic.mgc,sha256=_HtmpGIkc8M__H5mrJUJsbCJgZoGQURBbcDmLopuDRk,4873104
7
- git_annex-10.20250520b2.dist-info/METADATA,sha256=5zF9nF8WvaYQQc5AtHly37eCcUHH_76Fe0XDtkL8dsY,4533
8
- git_annex-10.20250520b2.dist-info/WHEEL,sha256=Vhj7RpPOKCXcsr4rUs7q4pISuo5nT6VsOuaQwH9GILY,94
9
- git_annex-10.20250520b2.dist-info/entry_points.txt,sha256=BI1LqRvI7ETq6hOuPgaT9O9cmmHJwYS3SthvRoNS43s,146
10
- git_annex-10.20250520b2.dist-info/RECORD,,