atomicshop 2.11.0__py3-none-any.whl → 2.11.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.

Potentially problematic release.


This version of atomicshop might be problematic. Click here for more details.

atomicshop/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """Atomic Basic functions and classes to make developer life easier"""
2
2
 
3
3
  __author__ = "Den Kras"
4
- __version__ = '2.11.0'
4
+ __version__ = '2.11.1'
@@ -2,7 +2,8 @@ from atomicshop.wrappers.dockerw import install_docker
2
2
 
3
3
 
4
4
  def main():
5
- install_docker.install_docker_ubuntu()
5
+ install_docker.install_docker_ubuntu(
6
+ use_docker_installer=True, rootless=False, add_current_user_to_docker_group_bool=True)
6
7
 
7
8
 
8
9
  if __name__ == '__main__':
@@ -37,12 +37,16 @@ def install_before_restart(
37
37
  print_api("This script requires root privileges...", color='red')
38
38
  sys.exit(1)
39
39
 
40
- docker_keyring_file_path: str = "/etc/apt/keyrings/docker.gpg"
40
+ # Install docker in rootless mode.
41
+ install_docker.install_docker_ubuntu(
42
+ use_docker_installer=True, rootless=True, add_current_user_to_docker_group_bool=False)
43
+
44
+ # docker_keyring_file_path: str = "/etc/apt/keyrings/docker.gpg"
41
45
  nodesource_keyring_file_path: str = "/etc/apt/keyrings/nodesource.gpg"
42
46
  fact_core_pre_install_file_path = str(Path(installation_directory, config_install.PRE_INSTALL_FILE_PATH))
43
47
 
44
48
  # Remove the existing keyrings, so we will not be asked to overwrite it if it exists.
45
- filesystem.remove_file(docker_keyring_file_path)
49
+ # filesystem.remove_file(docker_keyring_file_path)
46
50
  filesystem.remove_file(nodesource_keyring_file_path)
47
51
 
48
52
  # Remove the existing installation directory.
@@ -76,9 +80,9 @@ def install_before_restart(
76
80
 
77
81
  # Install docker. FACT installs the docker, but there can be a problem with permissions, so we need to add
78
82
  # the user permissions to the docker group before restart.
79
- if not install_docker.add_current_user_to_docker_group():
80
- print_api("Docker is installed, but the current user was not added to the docker group.", color='red')
81
- sys.exit(1)
83
+ # if not install_docker.add_current_user_to_docker_group():
84
+ # print_api("Docker is installed, but the current user was not added to the docker group.", color='red')
85
+ # sys.exit(1)
82
86
 
83
87
  print_api("FACT_core installation before restart is finished.", color='green')
84
88
  print_api("Please restart the computer to continue the installation.", color='red')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atomicshop
3
- Version: 2.11.0
3
+ Version: 2.11.1
4
4
  Summary: Atomic functions and classes to make developer life easier
5
5
  Author: Denis Kras
6
6
  License: MIT License
@@ -1,4 +1,4 @@
1
- atomicshop/__init__.py,sha256=s2wz8eSBb6qWra33TBucyEy5wBD-UCjN1HUhZ99l0VE,123
1
+ atomicshop/__init__.py,sha256=m5isGWCdh1ohe2ybTN5N1f4aFi-1EX_3JLu-T9zcTHQ,123
2
2
  atomicshop/_basics_temp.py,sha256=6cu2dd6r2dLrd1BRNcVDKTHlsHs_26Gpw8QS6v32lQ0,3699
3
3
  atomicshop/_create_pdf_demo.py,sha256=Yi-PGZuMg0RKvQmLqVeLIZYadqEZwUm-4A9JxBl_vYA,3713
4
4
  atomicshop/_patch_import.py,sha256=ENp55sKVJ0e6-4lBvZnpz9PQCt3Otbur7F6aXDlyje4,6334
@@ -49,7 +49,7 @@ atomicshop/addons/PlayWrightCodegen.cmd,sha256=Z5cnllsyXD4F1W2h-WLEnyFkg5nZy0-hT
49
49
  atomicshop/addons/ScriptExecution.cmd,sha256=8iC-uHs9MX9qUD_C2M7n9Xw4MZvwOfxT8H5v3hluVps,93
50
50
  atomicshop/addons/a_setup_scripts/install_psycopg2_ubuntu.sh,sha256=lM7LkXQ2AxfFzDGyzSOfIS_zpg9bAD1k3JJ-qu5CdH8,81
51
51
  atomicshop/addons/a_setup_scripts/install_pywintrace_0.3.cmd,sha256=lEP_o6rWcBFUyup6_c-LTL3Q2LRMqryLuG3mJw080Zc,115
52
- atomicshop/addons/mains/install_docker_ubuntu_main_sudo.py,sha256=3VDGDO41Vubzf64DaBapLlFYX52dEdyPBNfolSsbGcM,161
52
+ atomicshop/addons/mains/install_docker_ubuntu_main_sudo.py,sha256=MZy2DQXRndjCSiZEXweDiSbZtsY9WmDyuxOdKUO8TK8,256
53
53
  atomicshop/addons/mains/install_wsl_ubuntu_lts_admin.py,sha256=PrvZ4hMuadzj2GYKRZSwyNayJUuaSnCF9nV6ORqoPdo,123
54
54
  atomicshop/addons/mains/msi_unpacker.py,sha256=XAJdEqs-3s9JqIgHpGRL-HxLKpFMXdrlXmq2Is2Pyfk,164
55
55
  atomicshop/addons/mains/search_for_hyperlinks_in_docx.py,sha256=HkIdo_Sz9nPbbbJf1mwfwFkyI7vkvpH8qiIkuYopN4w,529
@@ -187,7 +187,7 @@ atomicshop/wrappers/factw/fact_extractor/docker_image.py,sha256=jJAoJNQ4aoATjn3x
187
187
  atomicshop/wrappers/factw/fact_extractor/get_extractor.py,sha256=2mfOAftHIlCcGt1s7MWdq7DsDCuI6wX3MtvcEZ4SK-0,756
188
188
  atomicshop/wrappers/factw/install/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
189
189
  atomicshop/wrappers/factw/install/install_after_restart.py,sha256=-VXC3KDX2BzF0oi0ELCmfch55vLk-3t16KxlmYyUGD8,1560
190
- atomicshop/wrappers/factw/install/pre_install_and_install_before_restart.py,sha256=7Yk1xZXFXoPZVsSvgZzOLMoZza9OFIB5HplLQxY-7Bs,4251
190
+ atomicshop/wrappers/factw/install/pre_install_and_install_before_restart.py,sha256=nJEJbmSICktNoDoNLfhbMj4Vr4eY7CtR80RfJvbEM68,4442
191
191
  atomicshop/wrappers/factw/postgresql/__init__.py,sha256=xMBn2d3Exo23IPP2F_9-SXmOlhFbwWDgS9KwozSTjA0,162
192
192
  atomicshop/wrappers/factw/postgresql/analysis.py,sha256=2Rxzy2jyq3zEKIo53z8VkjuslKE_i5mq2ZpmJAvyd6U,716
193
193
  atomicshop/wrappers/factw/postgresql/file_object.py,sha256=VRiCXnsd6yDbnsE-TEKYPC-gkAgFVkE6rygRrJLQShI,713
@@ -242,8 +242,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
242
242
  atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
243
243
  atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
244
244
  atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
245
- atomicshop-2.11.0.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
246
- atomicshop-2.11.0.dist-info/METADATA,sha256=4qiSE0G-IMCVID80QijXfSjtq7_eJvhsvkINwCxNGjA,10447
247
- atomicshop-2.11.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
248
- atomicshop-2.11.0.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
249
- atomicshop-2.11.0.dist-info/RECORD,,
245
+ atomicshop-2.11.1.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
246
+ atomicshop-2.11.1.dist-info/METADATA,sha256=FiG_HsaXXg-WVQNYXwiPOth_zRUliMT2l9dKt1qhJ2Q,10447
247
+ atomicshop-2.11.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
248
+ atomicshop-2.11.1.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
249
+ atomicshop-2.11.1.dist-info/RECORD,,