atomicshop 2.11.33__py3-none-any.whl → 2.11.35__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 +1 -1
- atomicshop/wrappers/dockerw/install_docker.py +8 -4
- {atomicshop-2.11.33.dist-info → atomicshop-2.11.35.dist-info}/METADATA +1 -1
- {atomicshop-2.11.33.dist-info → atomicshop-2.11.35.dist-info}/RECORD +7 -7
- {atomicshop-2.11.33.dist-info → atomicshop-2.11.35.dist-info}/LICENSE.txt +0 -0
- {atomicshop-2.11.33.dist-info → atomicshop-2.11.35.dist-info}/WHEEL +0 -0
- {atomicshop-2.11.33.dist-info → atomicshop-2.11.35.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
|
@@ -174,12 +174,16 @@ def install_docker_ubuntu(
|
|
|
174
174
|
ubuntu_terminal.add_path_to_bashrc(as_regular_user=True)
|
|
175
175
|
|
|
176
176
|
# Add appropriate permissions to the docker socket, so the user can run docker commands without sudo in python.
|
|
177
|
-
#
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
# with open('/etc/profile.d/docker_vars.sh', 'w') as file:
|
|
178
|
+
# file.write('export DOCKER_HOST=unix:///run/user/1000/docker.sock')
|
|
179
|
+
command = "echo 'export DOCKER_HOST=unix:///run/user/1000/docker.sock' | sudo tee /etc/profile.d/docker_vars.sh"
|
|
180
|
+
subprocess.run(command, shell=True, check=True)
|
|
181
|
+
|
|
182
|
+
# ubuntu_terminal.add_line_to_bashrc(
|
|
183
|
+
# 'export DOCKER_HOST=unix:///run/user/1000/docker.sock', as_regular_user=True)
|
|
180
184
|
# process.execute_script('export DOCKER_HOST=unix:///run/user/1000/docker.sock', shell=True)
|
|
181
185
|
# Restart shell.
|
|
182
|
-
process.execute_script('source ~/.bashrc', shell=True)
|
|
186
|
+
# process.execute_script('source ~/.bashrc', shell=True)
|
|
183
187
|
|
|
184
188
|
if add_current_user_to_docker_group_bool:
|
|
185
189
|
# Check if current user that executed the script is a sudo user. If not, use the current user.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256
|
|
1
|
+
atomicshop/__init__.py,sha256=-43hbuJNPk2Fg3jTzhqN-6yl6N7ycnBoKqNu4bHsmCg,124
|
|
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
|
|
@@ -165,7 +165,7 @@ atomicshop/wrappers/ctyping/msi_windows_installer/extract_msi_main.py,sha256=eyF
|
|
|
165
165
|
atomicshop/wrappers/ctyping/msi_windows_installer/tables.py,sha256=ajiFiLXl1prg2kOhatfT8E2RKX7F8JjUJpwkVuKu1GY,16263
|
|
166
166
|
atomicshop/wrappers/dockerw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
167
167
|
atomicshop/wrappers/dockerw/dockerw.py,sha256=w8zSJr5C7cbvbuG09ORCpAe0BOcibqqL_Z2EKEBHYK4,6266
|
|
168
|
-
atomicshop/wrappers/dockerw/install_docker.py,sha256=
|
|
168
|
+
atomicshop/wrappers/dockerw/install_docker.py,sha256=nJ1fiqreabC3TovER7zyCUpezsi1W94gvL4y8SUcje0,9697
|
|
169
169
|
atomicshop/wrappers/elasticsearchw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
170
170
|
atomicshop/wrappers/elasticsearchw/config_basic.py,sha256=fDujtrjEjbWiYh_WQ3OcYp_8mXhXPYeKLy4wSPL5qM0,1177
|
|
171
171
|
atomicshop/wrappers/elasticsearchw/elasticsearchw.py,sha256=7TqFdEFznO8NlligJhEKk1vm641ALpCYdaRl1uoXdzM,9768
|
|
@@ -243,8 +243,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
|
|
|
243
243
|
atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
|
|
244
244
|
atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
|
|
245
245
|
atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
|
|
246
|
-
atomicshop-2.11.
|
|
247
|
-
atomicshop-2.11.
|
|
248
|
-
atomicshop-2.11.
|
|
249
|
-
atomicshop-2.11.
|
|
250
|
-
atomicshop-2.11.
|
|
246
|
+
atomicshop-2.11.35.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
247
|
+
atomicshop-2.11.35.dist-info/METADATA,sha256=bMGOtY8Bz8cShMlvWM1QMYlFy8crlD9jVwAYOxh6D1Y,10448
|
|
248
|
+
atomicshop-2.11.35.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
249
|
+
atomicshop-2.11.35.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
250
|
+
atomicshop-2.11.35.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|