hmr 0.5.2.3__tar.gz → 0.5.3__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hmr
3
- Version: 0.5.2.3
3
+ Version: 0.5.3
4
4
  Summary: Hot Module Reload for Python
5
5
  Project-URL: repository, https://github.com/promplate/pyth-on-line/tree/reactivity
6
6
  Requires-Python: >=3.12
@@ -7,7 +7,7 @@ description = "Hot Module Reload for Python"
7
7
  dependencies = [
8
8
  "watchfiles>=0.21,<2 ; sys_platform != 'emscripten'",
9
9
  ]
10
- version = "0.5.2.3"
10
+ version = "0.5.3"
11
11
 
12
12
  [project.scripts]
13
13
  hmr = "reactivity.hmr:cli"
@@ -335,10 +335,10 @@ def cli():
335
335
  entry = sys.argv[0]
336
336
  if not (path := Path(entry)).is_file():
337
337
  raise FileNotFoundError(path.resolve())
338
- sys.path.insert(0, ".")
338
+ sys.path.insert(0, str(path.parent.resolve()))
339
339
  reloader = SyncReloader(entry)
340
340
  sys.modules["__main__"] = reloader.entry_module
341
341
  reloader.keep_watching_until_interrupt()
342
342
 
343
343
 
344
- __version__ = "0.5.2.3"
344
+ __version__ = "0.5.3"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes