atomicshop 2.11.39__py3-none-any.whl → 2.11.40__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/nodejsw/install_nodejs.py +6 -1
- {atomicshop-2.11.39.dist-info → atomicshop-2.11.40.dist-info}/METADATA +1 -1
- {atomicshop-2.11.39.dist-info → atomicshop-2.11.40.dist-info}/RECORD +7 -7
- {atomicshop-2.11.39.dist-info → atomicshop-2.11.40.dist-info}/LICENSE.txt +0 -0
- {atomicshop-2.11.39.dist-info → atomicshop-2.11.40.dist-info}/WHEEL +0 -0
- {atomicshop-2.11.39.dist-info → atomicshop-2.11.40.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
|
@@ -118,10 +118,11 @@ def install_nodejs_ubuntu(
|
|
|
118
118
|
is_nodejs_installed()
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
def install_npm_package_ubuntu(package_name: str):
|
|
121
|
+
def install_npm_package_ubuntu(package_name: str, sudo: bool = True):
|
|
122
122
|
"""
|
|
123
123
|
The function will install a npm package on Ubuntu.
|
|
124
124
|
:param package_name: str, the name of the package to install.
|
|
125
|
+
:param sudo: bool, if True, the function will use sudo.
|
|
125
126
|
:return:
|
|
126
127
|
"""
|
|
127
128
|
|
|
@@ -130,4 +131,8 @@ def install_npm_package_ubuntu(package_name: str):
|
|
|
130
131
|
return
|
|
131
132
|
|
|
132
133
|
command = f"npm install -g {package_name}"
|
|
134
|
+
|
|
135
|
+
if sudo:
|
|
136
|
+
command = f"sudo {command}"
|
|
137
|
+
|
|
133
138
|
_ = subprocess.check_output(command, shell=True, stderr=subprocess.STDOUT)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256=
|
|
1
|
+
atomicshop/__init__.py,sha256=tgBII1ugzc6yqLRBWkagDuZmKSTPYmMPQXmIGaH85ho,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
|
|
@@ -211,7 +211,7 @@ atomicshop/wrappers/loggingw/loggers.py,sha256=DHOOTAtqkwn1xgvLHSkOiBm6yFGNuQy1k
|
|
|
211
211
|
atomicshop/wrappers/loggingw/loggingw.py,sha256=v9WAseZXB50LluT9rIUcRvvevg2nLVKPgz3dbGejfV0,12151
|
|
212
212
|
atomicshop/wrappers/loggingw/reading.py,sha256=xs7L6Jo-vedrhCVP7m-cJo0VhWmoSoK86avR4Tm0kG4,3675
|
|
213
213
|
atomicshop/wrappers/nodejsw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
214
|
-
atomicshop/wrappers/nodejsw/install_nodejs.py,sha256=
|
|
214
|
+
atomicshop/wrappers/nodejsw/install_nodejs.py,sha256=fsPkkRGm3ZczLf1w1YSx6krf012rg0FzJqXviblzR0c,5091
|
|
215
215
|
atomicshop/wrappers/playwrightw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
216
216
|
atomicshop/wrappers/playwrightw/_tryouts.py,sha256=l1BLkFsiIMNlgv7nfZd1XGEvXQkIQkIcg48__9OaC00,4920
|
|
217
217
|
atomicshop/wrappers/playwrightw/base.py,sha256=WeRpx8otdXuKSr-BjY-uCJTze21kbPpfitoOjKQz5-g,9818
|
|
@@ -244,8 +244,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
|
|
|
244
244
|
atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
|
|
245
245
|
atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
|
|
246
246
|
atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
|
|
247
|
-
atomicshop-2.11.
|
|
248
|
-
atomicshop-2.11.
|
|
249
|
-
atomicshop-2.11.
|
|
250
|
-
atomicshop-2.11.
|
|
251
|
-
atomicshop-2.11.
|
|
247
|
+
atomicshop-2.11.40.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
248
|
+
atomicshop-2.11.40.dist-info/METADATA,sha256=lLfTRnsgm1Y_eTRPXy5sPQdNpTlMJ9HSv06vqh4Tfag,10448
|
|
249
|
+
atomicshop-2.11.40.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
250
|
+
atomicshop-2.11.40.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
251
|
+
atomicshop-2.11.40.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|