git-annex 10.20250520a7__py3-none-win_amd64.whl → 10.20250520a10__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 ADDED
@@ -0,0 +1,33 @@
1
+ import os.path as op
2
+ import subprocess
3
+ import sys
4
+
5
+
6
+ def cli():
7
+ exe_dir = op.dirname(__file__)
8
+ exe = op.join(
9
+ exe_dir,
10
+ op.basename(sys.argv[0]),
11
+ )
12
+ args = [exe] + sys.argv[1:]
13
+ try:
14
+ subprocess.run(
15
+ args,
16
+ executable=op.join(
17
+ exe_dir,
18
+ f'git-annex{".exe" if sys.platform.startswith("win") else ""}',
19
+ ),
20
+ shell=False,
21
+ check=True,
22
+ )
23
+ # try flush here to trigger a BrokenPipeError
24
+ # within the try-except block so we can handle it
25
+ # (happens if the calling process closed stdout
26
+ # already
27
+ sys.stdout.flush()
28
+ except BrokenPipeError:
29
+ # setting it to None prevents Python from trying to
30
+ # flush again
31
+ sys.stdout = None
32
+ except subprocess.CalledProcessError as e:
33
+ sys.exit(e.returncode)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-annex
3
- Version: 10.20250520a7
3
+ Version: 10.20250520a10
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
@@ -37,9 +37,26 @@ Description-Content-Type: text/markdown
37
37
 
38
38
  https://pypi.org/project/git-annex/
39
39
 
40
+ Git-annex is built with libmagic support, but without the git-annex assistant.
41
+ The primary purpose of this package is to provide git-annex (as a dependency),
42
+ installed in a virtual environment. Users of the git-annex assistant application
43
+ likely install git-annex via any of its platform packages.
44
+
40
45
  ## Platform notes
41
46
 
47
+ ### Linux
48
+
49
+ The `manylinux` wheel is self-contained and includes copies of all libraries.
50
+ It only depends on the declared GLIBC versions.
51
+ The `magic.mgc` database is not included, and is assumed to be available on
52
+ the target system. Install it separately, if needed (e.g., `libmagic-mgc`
53
+ package).
54
+
42
55
  ### Windows
43
56
 
44
- Git-annex is built with libmagic support, and the library, the `file.exe`
45
- utility, and its dependencies are included in the wheel.
57
+ The wheel is self-contained and includes a copy of libmagic and the `magic.mgc` database.
58
+
59
+ ### Mac
60
+
61
+ Git-annex is built with libmagic support, but the library is not included and needs
62
+ to be deployed separately.
@@ -0,0 +1,10 @@
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=rlFor-K6Zri__G_MdITqBKZ5j-nwF7zrFzGElRRFqdA,96239104
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.20250520a10.dist-info/METADATA,sha256=f6wiEC9Id81gzL_SizXy7VXam-4bDc-zbIgjVOMdQOo,2602
8
+ git_annex-10.20250520a10.dist-info/WHEEL,sha256=Vhj7RpPOKCXcsr4rUs7q4pISuo5nT6VsOuaQwH9GILY,94
9
+ git_annex-10.20250520a10.dist-info/entry_points.txt,sha256=BI1LqRvI7ETq6hOuPgaT9O9cmmHJwYS3SthvRoNS43s,146
10
+ git_annex-10.20250520a10.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ git-annex = git_annex:cli
3
+ git-annex-shell = git_annex:cli
4
+ git-remote-annex = git_annex:cli
5
+ git-remote-tor-annex = git_annex:cli
@@ -1,9 +0,0 @@
1
- git-annex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- git_annex-10.20250520a7.data/data/Scripts/file.exe,sha256=OAu9YTkyz_73zujE_GbRoKtmocAtoAi2pZC2QO4hiPU,394235
3
- git_annex-10.20250520a7.data/data/Scripts/git-annex.exe,sha256=GtW0skNn4Ysx51vykSYEbZ5wWBgpoEl-_sUa3oDQav4,107506688
4
- git_annex-10.20250520a7.data/data/Scripts/libgnurx-0.dll,sha256=sVYpwWNjXDE3aE6FOtBJNmxt6lYkg3hMNZX3dzYa32g,382387
5
- git_annex-10.20250520a7.data/data/Scripts/libmagic-1.dll,sha256=rbOyhepldi0AEIwbE67uxXJHL3wMYdavKn7gatftMS8,1225472
6
- git_annex-10.20250520a7.data/data/Scripts/magic.mgc,sha256=_HtmpGIkc8M__H5mrJUJsbCJgZoGQURBbcDmLopuDRk,4873104
7
- git_annex-10.20250520a7.dist-info/METADATA,sha256=_4g1CWVyrjv56ZPBYWJOEKDDZkyuxqUjiBkF1qOIAv0,1924
8
- git_annex-10.20250520a7.dist-info/WHEEL,sha256=Vhj7RpPOKCXcsr4rUs7q4pISuo5nT6VsOuaQwH9GILY,94
9
- git_annex-10.20250520a7.dist-info/RECORD,,
File without changes