xmipp3-installer 2.0.0__py3-none-any.whl → 2.0.1__py3-none-any.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.
- xmipp3_installer/api_client/assembler/installation_info_assembler.py +1 -1
- xmipp3_installer/installer/handlers/git_handler.py +6 -4
- {xmipp3_installer-2.0.0.dist-info → xmipp3_installer-2.0.1.dist-info}/METADATA +1 -1
- {xmipp3_installer-2.0.0.dist-info → xmipp3_installer-2.0.1.dist-info}/RECORD +8 -8
- {xmipp3_installer-2.0.0.dist-info → xmipp3_installer-2.0.1.dist-info}/WHEEL +0 -0
- {xmipp3_installer-2.0.0.dist-info → xmipp3_installer-2.0.1.dist-info}/entry_points.txt +0 -0
- {xmipp3_installer-2.0.0.dist-info → xmipp3_installer-2.0.1.dist-info}/licenses/LICENSE.txt +0 -0
- {xmipp3_installer-2.0.0.dist-info → xmipp3_installer-2.0.1.dist-info}/top_level.txt +0 -0
|
@@ -91,7 +91,7 @@ def __get_installation_branch_name(branch_name: str, version_manager: versions_m
|
|
|
91
91
|
#### Return:
|
|
92
92
|
- (str): Release name if Xmipp is in a release branch, or the branch name otherwise.
|
|
93
93
|
"""
|
|
94
|
-
return branch_name or version_manager.
|
|
94
|
+
return branch_name or version_manager.xmipp_version_name
|
|
95
95
|
|
|
96
96
|
def __get_user_id() -> str:
|
|
97
97
|
"""
|
|
@@ -15,15 +15,17 @@ def get_current_branch(dir: str='./') -> str:
|
|
|
15
15
|
- dir (str): Optional. Directory of the repository to get current branch from. Default is current directory.
|
|
16
16
|
|
|
17
17
|
#### Returns:
|
|
18
|
-
- (str): The name of the branch, 'HEAD' if a tag, or empty string if given directory is not a repository or a recognizable tag.
|
|
18
|
+
- (str): The name of the branch, 'HEAD' if it is a tag, or empty string if the given directory is not a repository or a recognizable tag.
|
|
19
19
|
"""
|
|
20
20
|
ret_code, branch_name = shell_handler.run_shell_command("git rev-parse --abbrev-ref HEAD", cwd=dir)
|
|
21
21
|
# If there was an error, we are in no branch
|
|
22
|
-
return
|
|
22
|
+
return '' if ret_code else branch_name
|
|
23
23
|
|
|
24
24
|
def is_tag(dir: str='./') -> bool:
|
|
25
25
|
"""
|
|
26
26
|
### Returns True if the current Xmipp repository is in a tag.
|
|
27
|
+
|
|
28
|
+
This happens when the current commit matches a tag.
|
|
27
29
|
|
|
28
30
|
#### Params:
|
|
29
31
|
- dir (str): Optional. Directory of the repository where the check will happen. Default is current directory.
|
|
@@ -31,8 +33,8 @@ def is_tag(dir: str='./') -> bool:
|
|
|
31
33
|
#### Returns:
|
|
32
34
|
- (bool): True if the repository is a tag. False otherwise.
|
|
33
35
|
"""
|
|
34
|
-
|
|
35
|
-
return not
|
|
36
|
+
ret_code, _ = shell_handler.run_shell_command("git describe --tags --exact-match HEAD", cwd=dir)
|
|
37
|
+
return not ret_code
|
|
36
38
|
|
|
37
39
|
def is_branch_up_to_date(dir: str='./') -> bool:
|
|
38
40
|
"""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
xmipp3_installer/__init__.py,sha256=s67VAuwU_q4SQwrHE2ma0iHaK7B-he8LIAHE6isCmMc,50
|
|
2
2
|
xmipp3_installer/__main__.py,sha256=GjAvEb6__AdjqqtOKc6Q5LQieofjGypAeKmpceqrUsA,124
|
|
3
3
|
xmipp3_installer/api_client/api_client.py,sha256=sMtkC0lvX7sbi0JbKYsCieGgzxU3B1jZNRgcv9AEMxo,1670
|
|
4
|
-
xmipp3_installer/api_client/assembler/installation_info_assembler.py,sha256=
|
|
4
|
+
xmipp3_installer/api_client/assembler/installation_info_assembler.py,sha256=tLT6i2inONDRORinK-2azJ8kg7O0D723iIdpaqBhLIg,5915
|
|
5
5
|
xmipp3_installer/application/__init__.py,sha256=kLEk5vEkDPq06r2mKB9FZ2f-yn0Jgm5rSGfL3tBwtik,89
|
|
6
6
|
xmipp3_installer/application/user_interactions.py,sha256=HcNO1YlL2dY5PWZR7hl2Hw366bZ-5fQ7QRcfkwhvr_E,703
|
|
7
7
|
xmipp3_installer/application/cli/__init__.py,sha256=twbZEzUf7ZjBKE07j3DQinLXqa5KOVJ8akiMISx6Rfg,32
|
|
@@ -27,7 +27,7 @@ xmipp3_installer/installer/constants/paths.py,sha256=oqqkZNkhe5i3OCJ4nzeuU4Sq2Av
|
|
|
27
27
|
xmipp3_installer/installer/handlers/__init__.py,sha256=f5XfFtrOTSDRa7Vco8HThqOp3P517dDYa6Nn_DrpUJQ,91
|
|
28
28
|
xmipp3_installer/installer/handlers/conda_handler.py,sha256=PNuuEEWFrUcd_Eo0Bly4hM72TZqdIS_1AZrWyRfyt4k,334
|
|
29
29
|
xmipp3_installer/installer/handlers/generic_package_handler.py,sha256=GPGD_prkc6tU4ZF7YD8MhR3QERpernnTH-ebMop2gdY,680
|
|
30
|
-
xmipp3_installer/installer/handlers/git_handler.py,sha256=
|
|
30
|
+
xmipp3_installer/installer/handlers/git_handler.py,sha256=9LwekbYm71ziHEQKCF_muHmB6IZLkW61buop2nZSlis,6532
|
|
31
31
|
xmipp3_installer/installer/handlers/shell_handler.py,sha256=YBpN0mul3-7vPw9Er57sgYacZ1gtqS4goVpSR4taOnI,3419
|
|
32
32
|
xmipp3_installer/installer/handlers/versions_manager.py,sha256=jKOJ-fQwVVBVwrusCnXQ7K7vlDTtz8k35NfoRgRnbTs,3796
|
|
33
33
|
xmipp3_installer/installer/handlers/cmake/__init__.py,sha256=lORTw5-xZSBQrwn_BzJ8gtIyYxYsIWDgs1AidCFq_vw,65
|
|
@@ -62,9 +62,9 @@ xmipp3_installer/repository/config_vars/default_values.py,sha256=eIUVE8G5I7VP4T3
|
|
|
62
62
|
xmipp3_installer/repository/config_vars/variables.py,sha256=U2LyYIitxGIO7cP_IG0lfkOQ1IrvFZTOp1l6O98N_34,1513
|
|
63
63
|
xmipp3_installer/shared/file_operations.py,sha256=cwYe3P0Iz3Sq2U4DqANx4AsL1QmqCU-VW2T3C0YcVLA,464
|
|
64
64
|
xmipp3_installer/shared/singleton.py,sha256=nqsCg_rTCdWld2EeLzmvQLjk_goROWWyia3wN7aqHUE,557
|
|
65
|
-
xmipp3_installer-2.0.
|
|
66
|
-
xmipp3_installer-2.0.
|
|
67
|
-
xmipp3_installer-2.0.
|
|
68
|
-
xmipp3_installer-2.0.
|
|
69
|
-
xmipp3_installer-2.0.
|
|
70
|
-
xmipp3_installer-2.0.
|
|
65
|
+
xmipp3_installer-2.0.1.dist-info/licenses/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
66
|
+
xmipp3_installer-2.0.1.dist-info/METADATA,sha256=3oMV8F5J4X4DNO3wKRURwDjtK7gvjABpVNbNBoZ5xVE,4741
|
|
67
|
+
xmipp3_installer-2.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
68
|
+
xmipp3_installer-2.0.1.dist-info/entry_points.txt,sha256=AbvjNKF8d0LfHkuVMrBz26YhjkzL37m4FYUDDs9UFB4,68
|
|
69
|
+
xmipp3_installer-2.0.1.dist-info/top_level.txt,sha256=PbpSNvfVKVhceWxY482CNYzjSnGbQXl782LlWh39uuw,17
|
|
70
|
+
xmipp3_installer-2.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|