xmipp3-installer 1.1.0__py3-none-any.whl → 2.0.0__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.
@@ -91,9 +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
- if not branch_name or branch_name == constants.MASTER_BRANCHNAME:
95
- return version_manager.xmipp_version_number
96
- return branch_name
94
+ return branch_name or version_manager.xmipp_version_number
97
95
 
98
96
  def __get_user_id() -> str:
99
97
  """
@@ -7,8 +7,7 @@ XMIPP_VIZ = 'xmippViz'
7
7
  XMIPP_SOURCES = [XMIPP_CORE, XMIPP_VIZ]
8
8
 
9
9
  # Branch names
10
- DEVEL_BRANCHNAME = 'devel'
11
- MASTER_BRANCHNAME = 'master'
10
+ MAIN_BRANCHNAME = 'main'
12
11
 
13
12
  # Context
14
13
  VERSIONS_CONTEXT_KEY = "versions"
@@ -69,10 +69,7 @@ class ModeGetSourcesExecutor(mode_executor.ModeExecutor):
69
69
  """
70
70
  current_branch = git_handler.get_current_branch()
71
71
  tag_name = None
72
- if (
73
- not current_branch or
74
- current_branch in {constants.MASTER_BRANCHNAME, self.xmipp_tag_name}
75
- ):
72
+ if (not current_branch or current_branch == self.xmipp_tag_name):
76
73
  tag_name = self.source_versions.get(source_name)
77
74
  return git_handler.get_clonable_branch(source_repo, self.target_branch, tag_name)
78
75
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xmipp3_installer
3
- Version: 1.1.0
3
+ Version: 2.0.0
4
4
  Summary: Package to handle the installation of Xmipp3
5
5
  Author-email: Martín Salinas <ssalinasmartin@gmail.com>
6
6
  License: GPL-3.0-only
@@ -33,7 +33,7 @@ Requires-Dist: ninja==1.*; extra == "test"
33
33
  Dynamic: license-file
34
34
 
35
35
  # xmipp3-installer
36
- Python package that handles the installation of [xmipp3](https://github.com/I2PC/xmipp).
36
+ Python package that handles the installation of [xmipp3](https://github.com/I2PC/xmipp3).
37
37
 
38
38
  ## Installation
39
39
  To install the package, simply run:
@@ -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=hocAe7ynhtOfBOffJnfDhKX_SqOj5-U5-XLqtfhsm6U,5995
4
+ xmipp3_installer/api_client/assembler/installation_info_assembler.py,sha256=X6pcKBicRlsdLtFCKPfb1INfDwC8iXP5oMlvUa5-U6U,5917
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
@@ -22,7 +22,7 @@ xmipp3_installer/installer/__init__.py,sha256=sxvxGWDy3i9EumDOpI5djVU-gpdlFcuFG1
22
22
  xmipp3_installer/installer/installer_service.py,sha256=oRAAjIGb-GA8HlqOcHzxmdKbZccen3noNx6mlEpSvNs,3015
23
23
  xmipp3_installer/installer/orquestrator.py,sha256=kmM5DhjGbi2bm_JuXHVPbJvi_89ePb1q38A-RhlRURw,1060
24
24
  xmipp3_installer/installer/urls.py,sha256=So738nMK7lkqsLymyc-IJFyeRMx2ZIZ19i-qH_MRAis,521
25
- xmipp3_installer/installer/constants/__init__.py,sha256=yNZfGRtYy3uuF6WebDr0QqqcVsJlh-oh6DxjK2qtQ0M,352
25
+ xmipp3_installer/installer/constants/__init__.py,sha256=saH8Nk3QpuxuGIZ6kWv8EkAwY3Tx-DHs7Mrt4K405Jc,320
26
26
  xmipp3_installer/installer/constants/paths.py,sha256=oqqkZNkhe5i3OCJ4nzeuU4Sq2AvCYZ4UlZ5kiVcCooI,1009
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
@@ -37,7 +37,7 @@ xmipp3_installer/installer/modes/__init__.py,sha256=-8F3Qpzmc9NjP0liDr0U-euw9dDP
37
37
  xmipp3_installer/installer/modes/mode_all_executor.py,sha256=tEzhTDWT_5dQXmI-I1X4Rcz2sCw5kX15_DZ-5gsO1hk,2288
38
38
  xmipp3_installer/installer/modes/mode_config_executor.py,sha256=TPOHxUzAMZX1F_2W4MdsW_DL0UNZVOTbeKc91bYVDjc,1966
39
39
  xmipp3_installer/installer/modes/mode_executor.py,sha256=WTjsIKfxE2JfTfp79uAe3KvdbusBY0xMVN7DIy5SK5g,1332
40
- xmipp3_installer/installer/modes/mode_get_sources_executor.py,sha256=fwHPKpDuMzXpGdLPHP9A0EuOj8yrVZ1iXUhE546k0Tk,5445
40
+ xmipp3_installer/installer/modes/mode_get_sources_executor.py,sha256=DPYBiMdFlgqNpYyUlPX2wM9zSv3avDoHakkteHACYFU,5393
41
41
  xmipp3_installer/installer/modes/mode_git_executor.py,sha256=9BPcHV6n-rASrMfnUxYb6nzcBHpct3RWc4I4hVYy1-U,1719
42
42
  xmipp3_installer/installer/modes/mode_selector.py,sha256=2uRrCXt-PfHAFWWx3kslgIUBzK7IdmBpokYW8T9CW70,1568
43
43
  xmipp3_installer/installer/modes/mode_version_executor.py,sha256=j9-K44pkXMC1QUBKn9IKwQvKADwNCAqUtFLcAcAWG1Q,6749
@@ -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-1.1.0.dist-info/licenses/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
66
- xmipp3_installer-1.1.0.dist-info/METADATA,sha256=uMOTsmvo6oYOxsPdW0FY3NMBwqjCshGABHQXmTARt7c,4740
67
- xmipp3_installer-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
68
- xmipp3_installer-1.1.0.dist-info/entry_points.txt,sha256=AbvjNKF8d0LfHkuVMrBz26YhjkzL37m4FYUDDs9UFB4,68
69
- xmipp3_installer-1.1.0.dist-info/top_level.txt,sha256=PbpSNvfVKVhceWxY482CNYzjSnGbQXl782LlWh39uuw,17
70
- xmipp3_installer-1.1.0.dist-info/RECORD,,
65
+ xmipp3_installer-2.0.0.dist-info/licenses/LICENSE.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
66
+ xmipp3_installer-2.0.0.dist-info/METADATA,sha256=kWLSI0netjwT6po5catPxUvhIcjgJYdJ_2kIU3xt_hk,4741
67
+ xmipp3_installer-2.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
68
+ xmipp3_installer-2.0.0.dist-info/entry_points.txt,sha256=AbvjNKF8d0LfHkuVMrBz26YhjkzL37m4FYUDDs9UFB4,68
69
+ xmipp3_installer-2.0.0.dist-info/top_level.txt,sha256=PbpSNvfVKVhceWxY482CNYzjSnGbQXl782LlWh39uuw,17
70
+ xmipp3_installer-2.0.0.dist-info/RECORD,,