more-compute 0.2.0__py3-none-any.whl → 0.2.2__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.
kernel_run.py CHANGED
@@ -221,17 +221,24 @@ class NotebookLauncher:
221
221
 
222
222
  # Check if node_modules exists
223
223
  if not (frontend_dir / "node_modules").exists():
224
- print("Installing dependencies...")
225
- subprocess.run(
226
- [npm_cmd, "install"],
227
- cwd=frontend_dir,
228
- check=True,
229
- stdout=subprocess.DEVNULL,
230
- stderr=subprocess.DEVNULL,
231
- shell=self.is_windows,
232
- encoding='utf-8',
233
- errors='replace'
234
- )
224
+ print("Installing dependencies (this may take a minute)...")
225
+ try:
226
+ subprocess.run(
227
+ [npm_cmd, "install", "--no-audit", "--no-fund"],
228
+ cwd=frontend_dir,
229
+ check=True,
230
+ shell=self.is_windows,
231
+ encoding='utf-8',
232
+ errors='replace'
233
+ )
234
+ print("Dependencies installed successfully!")
235
+ except subprocess.CalledProcessError as e:
236
+ print(f"\nError installing dependencies: {e}")
237
+ print("Try running manually:")
238
+ print(f" cd {frontend_dir}")
239
+ print(" npm install")
240
+ self.cleanup()
241
+ sys.exit(1)
235
242
 
236
243
  fe_stdout = None if self.debug else subprocess.DEVNULL
237
244
  fe_stderr = None if self.debug else subprocess.DEVNULL
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: more-compute
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: An interactive notebook environment for local and GPU computing
5
5
  Home-page: https://github.com/DannyMang/MORECOMPUTE
6
6
  Author: MoreCompute Team
@@ -1,4 +1,4 @@
1
- kernel_run.py,sha256=otblv5fH9VyucgBsh_LwcgAWLNun0E9ioGIZvzWuP84,14656
1
+ kernel_run.py,sha256=-lyN0b77fPIhhX1KoxwMofnY6TyvZ227Pbega7oL4_w,15070
2
2
  frontend/.DS_Store,sha256=uQeHnkKyuTF1AVax3NPqtN0uCH6XNXAxL9Nkb6Q9cGw,8196
3
3
  frontend/.gitignore,sha256=IH4mX_SQH5rZ-W2M4IUw4E-fxgCBVHKmbQpEYJbWVM0,480
4
4
  frontend/README.md,sha256=YLVf9995r3JZD5UkII5GZCvDK9wXXNrUE0loHA4vlY8,1450
@@ -65,9 +65,9 @@ frontend/public/fonts/Fira.ttf,sha256=dbSM4W7Drd9n_EkfXq8P31KuxbjZ1wtuFiZ8aFebvT
65
65
  frontend/public/fonts/Tiempos.woff2,sha256=h83bJKvAK301wXCMIvK7ZG5j0H2K3tzAfgo0yk4z8OE,13604
66
66
  frontend/public/fonts/VeraMono.ttf,sha256=2kKB3H2xej385kpiztkodcWJU0AFXsi6JKORTrl7NJ0,49224
67
67
  frontend/types/notebook.ts,sha256=v23RaZe6H3lU5tq6sqnJDPxC2mu0NZFDCJfiN0mgvSs,1359
68
- more_compute-0.2.0.dist-info/licenses/LICENSE,sha256=0Ot-XIetYt06iay6IhtpJkruD-cLZtjyv7_aIEE-oSc,1073
68
+ more_compute-0.2.2.dist-info/licenses/LICENSE,sha256=0Ot-XIetYt06iay6IhtpJkruD-cLZtjyv7_aIEE-oSc,1073
69
69
  morecompute/__init__.py,sha256=pcMVq8Q7qb42AOn7tqgoZJOi3epDDBnEriiv2WVKnXY,87
70
- morecompute/__version__.py,sha256=Zn1KFblwuFHiDRdRAiRnDBRkbPttWh44jKa5zG2ov0E,22
70
+ morecompute/__version__.py,sha256=m6kyaNpwBcP1XYcqrelX2oS3PJuOnElOcRdBa9pEb8c,22
71
71
  morecompute/cli.py,sha256=kVvzvPBqF8xO6UuhU_-TBn99nKwJ405R2mAS6zU0KBc,734
72
72
  morecompute/notebook.py,sha256=KEcv0eOEh9N7bPVGoRuKJb47G9MmpQ5zz1B6Dm58w18,4651
73
73
  morecompute/process_worker.py,sha256=KsE3r-XpkYGuyO4w3t54VKkD51LfNHAZc3TYattMtrg,7185
@@ -93,8 +93,8 @@ morecompute/utils/python_environment_util.py,sha256=l8WWWPwKbypknw8GwL22NXCji5i1
93
93
  morecompute/utils/special_commands.py,sha256=JTc9II2EitmivwTTdnydEefShasiTa-7w8tNyYVIenw,19104
94
94
  morecompute/utils/system_environment_util.py,sha256=32mQRubo0i4X61o-825T7m-eUSidcEp07qkInP1sWZA,4774
95
95
  morecompute/utils/zmq_util.py,sha256=tx7-iS04UN69OFtBzkxcEnRhT7xtI9EzRnrZ_nsH_O0,1889
96
- more_compute-0.2.0.dist-info/METADATA,sha256=ieZK-lZJs3LfJfflN59QmczXIRNEMp5GrgdkGKE0U70,3593
97
- more_compute-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
98
- more_compute-0.2.0.dist-info/entry_points.txt,sha256=xp7z9eRPNRM4oxkZZVlyXkhkSjN1AjoYI_B7qpDJ1bI,49
99
- more_compute-0.2.0.dist-info/top_level.txt,sha256=Tamm6ADzjwaQa1z27O7Izcyhyt9f0gVjMv1_tC810aI,32
100
- more_compute-0.2.0.dist-info/RECORD,,
96
+ more_compute-0.2.2.dist-info/METADATA,sha256=3n7dLBpNu6Oim2KiqPW9l1OypL7jHbTWKwrAn4Ydalc,3593
97
+ more_compute-0.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
98
+ more_compute-0.2.2.dist-info/entry_points.txt,sha256=xp7z9eRPNRM4oxkZZVlyXkhkSjN1AjoYI_B7qpDJ1bI,49
99
+ more_compute-0.2.2.dist-info/top_level.txt,sha256=Tamm6ADzjwaQa1z27O7Izcyhyt9f0gVjMv1_tC810aI,32
100
+ more_compute-0.2.2.dist-info/RECORD,,
@@ -1 +1 @@
1
- __version__ = "0.2.0"
1
+ __version__ = "0.2.2"