jasonisnthappy 0.1.0__py3-none-win_amd64.whl → 0.1.1__py3-none-win_amd64.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.
@@ -4,5 +4,5 @@ jasonisnthappy - Python bindings for jasonisnthappy embedded database
4
4
 
5
5
  from .database import Database, Transaction, UpsertResult, WebServer, WatchHandle
6
6
 
7
- __version__ = "0.1.0"
7
+ __version__ = "0.1.1"
8
8
  __all__ = ["Database", "Transaction", "UpsertResult", "WebServer", "WatchHandle"]
@@ -19,7 +19,6 @@ class UpsertResult:
19
19
 
20
20
  def _get_library_path():
21
21
  """Get library path, checking package directory first, then fallback to loader."""
22
- # First check if library exists in package directory (installed during pip install)
23
22
  system = platform.system()
24
23
  machine = platform.machine().lower()
25
24
 
@@ -37,10 +36,17 @@ def _get_library_path():
37
36
  from .loader import get_library_path
38
37
  return get_library_path()
39
38
 
40
- # Check package lib directory first
41
- package_lib_path = Path(__file__).parent / "lib" / lib_dir / lib_name
42
- if package_lib_path.exists():
43
- return str(package_lib_path)
39
+ package_dir = Path(__file__).parent
40
+
41
+ # Check package root directory first (where wheel build puts it)
42
+ root_lib_path = package_dir / lib_name
43
+ if root_lib_path.exists():
44
+ return str(root_lib_path)
45
+
46
+ # Check lib/<platform>/ directory
47
+ platform_lib_path = package_dir / "lib" / lib_dir / lib_name
48
+ if platform_lib_path.exists():
49
+ return str(platform_lib_path)
44
50
 
45
51
  # Fallback to loader (downloads to ~/.jasonisnthappy/)
46
52
  from .loader import get_library_path
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jasonisnthappy
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: UNKNOWN
5
5
  Home-page: UNKNOWN
6
6
  License: UNKNOWN
@@ -0,0 +1,9 @@
1
+ jasonisnthappy/__init__.py,sha256=3grWJ3kQawdVbt2Mu9NE_4g5oLkM2FWbdUNRCdf7HUI,266
2
+ jasonisnthappy/database.py,sha256=6sHqjb32E39e_hmkMlg9W9wudJu7JWFsyM5BLYi_Biw,65742
3
+ jasonisnthappy/jasonisnthappy.dll,sha256=ED_J1HwJEL8YBvjYoyie2FGTltuu07fO3pkW77XZ66E,1072640
4
+ jasonisnthappy/loader.py,sha256=SghCXKU9iuez9gwXl831sn0wFU1LfmLbKlIinLmm-Q0,2128
5
+ jasonisnthappy/lib/darwin-arm64/libjasonisnthappy.dylib,sha256=akeoJIk9z2IDHwC8oIZAooLOYzQqJc5oRYG_sMSiS7g,792960
6
+ jasonisnthappy-0.1.1.dist-info/METADATA,sha256=buF437mdNjbg_qc12BxNiOXGDVvVG9aHAPrhjFUH5zM,139
7
+ jasonisnthappy-0.1.1.dist-info/WHEEL,sha256=WoE84lFhzpl5kFoOWeOKUr67l1o9c9Tie8ccxFQmzBU,98
8
+ jasonisnthappy-0.1.1.dist-info/top_level.txt,sha256=qcswwJiUzQCM8BF6LjZw2z11PeOYPEBq0JaZcYBbaWU,15
9
+ jasonisnthappy-0.1.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- jasonisnthappy/__init__.py,sha256=EZqHrQ2NK5tb1mIAeCk8QSmFCYxLurQQU-I9uHPK_vQ,266
2
- jasonisnthappy/database.py,sha256=g_aoa210ce6jaNb-FsXaARd5E0Fz4gCn6Yo6Vbe3EIE,65620
3
- jasonisnthappy/jasonisnthappy.dll,sha256=cU4F22E9qgb1g1ot4gGl8KsnLK3jkR14v4OBcWde5QY,907264
4
- jasonisnthappy/loader.py,sha256=SghCXKU9iuez9gwXl831sn0wFU1LfmLbKlIinLmm-Q0,2128
5
- jasonisnthappy-0.1.0.dist-info/METADATA,sha256=QpFqyNZN6Sn0hyHdsj099OwQIxKld0b9ntYA9QhFmUo,139
6
- jasonisnthappy-0.1.0.dist-info/WHEEL,sha256=WoE84lFhzpl5kFoOWeOKUr67l1o9c9Tie8ccxFQmzBU,98
7
- jasonisnthappy-0.1.0.dist-info/top_level.txt,sha256=qcswwJiUzQCM8BF6LjZw2z11PeOYPEBq0JaZcYBbaWU,15
8
- jasonisnthappy-0.1.0.dist-info/RECORD,,