git-annex 10.20250520a6__py3-none-manylinux_2_34_x86_64.whl → 10.20250520a8__py3-none-manylinux_2_34_x86_64.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 +30 -0
- {git_annex-10.20250520a6.data/data/bin → git_annex}/git-annex +0 -0
- {git_annex-10.20250520a6.dist-info → git_annex-10.20250520a8.dist-info}/METADATA +15 -1
- git_annex-10.20250520a8.dist-info/RECORD +8 -0
- {git_annex-10.20250520a6.dist-info → git_annex-10.20250520a8.dist-info}/WHEEL +1 -0
- git_annex-10.20250520a8.dist-info/entry_points.txt +5 -0
- git_annex.libs/libgmp-4dc20a90.so.10.4.1 +0 -0
- git_annex-10.20250520a6.dist-info/RECORD +0 -5
- {git-annex → git_annex}/py.typed +0 -0
git_annex/__init__.py
ADDED
@@ -0,0 +1,30 @@
|
|
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(exe_dir, 'git-annex'),
|
17
|
+
shell=False,
|
18
|
+
check=True,
|
19
|
+
)
|
20
|
+
# try flush here to trigger a BrokenPipeError
|
21
|
+
# within the try-except block so we can handle it
|
22
|
+
# (happens if the calling process closed stdout
|
23
|
+
# already
|
24
|
+
sys.stdout.flush()
|
25
|
+
except (BrokenPipeError, IOError):
|
26
|
+
# setting it to None prevents Python from trying to
|
27
|
+
# flush again
|
28
|
+
sys.stdout = None
|
29
|
+
except subprocess.CalledProcessError as e:
|
30
|
+
sys.exit(e.returncode)
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: git-annex
|
3
|
-
Version: 10.
|
3
|
+
Version: 10.20250520a8
|
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
|
@@ -34,3 +34,17 @@ Requires-Python: >=3.9
|
|
34
34
|
Description-Content-Type: text/markdown
|
35
35
|
|
36
36
|
# Python wheel package for git-annex
|
37
|
+
|
38
|
+
https://pypi.org/project/git-annex/
|
39
|
+
|
40
|
+
## Platform notes
|
41
|
+
|
42
|
+
### Windows
|
43
|
+
|
44
|
+
Git-annex is built with libmagic support, and the library, the `file.exe`
|
45
|
+
utility, and its dependencies are included in the wheel.
|
46
|
+
|
47
|
+
### Mac
|
48
|
+
|
49
|
+
Git-annex is built with libmagic support, and requires the library
|
50
|
+
to be deployed separately.
|
@@ -0,0 +1,8 @@
|
|
1
|
+
git_annex/__init__.py,sha256=4NH4bwyHQeFOt8_C_dtoy2WdBDrxMmllYmy_ORVJL8M,808
|
2
|
+
git_annex/git-annex,sha256=u1jjfiodDoQby1VnF4ACk89AkRCyoWKxKoZuxb4iZTk,76025168
|
3
|
+
git_annex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
git_annex.libs/libgmp-4dc20a90.so.10.4.1,sha256=TfI4CvsH9z1oNO3QmVnOg1aRt_BbSPeyQ6QwffV2lB0,544520
|
5
|
+
git_annex-10.20250520a8.dist-info/METADATA,sha256=Iye8lUX6HyFJrmSiTdQqwDqANDe_7PrSM919U1luqH4,2028
|
6
|
+
git_annex-10.20250520a8.dist-info/WHEEL,sha256=14hUm3taAaRrwRexXBehkwXBq0X2pKP3P7MGEgnqjUI,107
|
7
|
+
git_annex-10.20250520a8.dist-info/entry_points.txt,sha256=P0D1hzhM9Bd1HEiLtf--Q7ZqiJXIRPWolfBHrePBvyQ,142
|
8
|
+
git_annex-10.20250520a8.dist-info/RECORD,,
|
Binary file
|
@@ -1,5 +0,0 @@
|
|
1
|
-
git-annex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
git_annex-10.20250520a6.data/data/bin/git-annex,sha256=BQdCSBokjrF01-ff-kMVNmDe1XinRx3hy1J2x3SQJQM,86324400
|
3
|
-
git_annex-10.20250520a6.dist-info/METADATA,sha256=QkLzJNuJYiGQjFmZfFstyh_TqaijxTUjsveeHXCBE1Y,1723
|
4
|
-
git_annex-10.20250520a6.dist-info/WHEEL,sha256=JBpKXR5yoxrw2_j3-ADTy2Tm6wiDCGE4gmJrhoM8FOk,106
|
5
|
-
git_annex-10.20250520a6.dist-info/RECORD,,
|
{git-annex → git_annex}/py.typed
RENAMED
File without changes
|