enzyme-python-package 0.4.4__tar.gz → 0.4.6__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.4
2
2
  Name: enzyme-python-package
3
- Version: 0.4.4
3
+ Version: 0.4.6
4
4
  Summary: Vault intelligence — concept graph and semantic search for markdown notes
5
5
  Author: Joshua Pham
6
6
  License: MIT
@@ -20,9 +20,9 @@ import urllib.request
20
20
  REPO = "jshph/enzyme"
21
21
  VERSION = "0.4.4"
22
22
 
23
- # Where we store the binary and model
24
- _DATA_DIR = os.path.join(os.path.expanduser("~"), ".enzyme-cli")
25
- _BIN_PATH = os.path.join(_DATA_DIR, "enzyme")
23
+ # Install binary to ~/.local/bin (standard user binary location)
24
+ _INSTALL_DIR = os.path.join(os.path.expanduser("~"), ".local", "bin")
25
+ _BIN_PATH = os.path.join(_INSTALL_DIR, "enzyme")
26
26
 
27
27
 
28
28
  def _detect_target() -> str:
@@ -91,7 +91,7 @@ def install() -> None:
91
91
  asset_url = f"{base_url}/{asset}"
92
92
  sha256_url = f"{asset_url}.sha256"
93
93
 
94
- os.makedirs(_DATA_DIR, exist_ok=True)
94
+ os.makedirs(_INSTALL_DIR, exist_ok=True)
95
95
 
96
96
  print(f"Installing enzyme {VERSION} ({target})...")
97
97
 
@@ -118,7 +118,7 @@ def install() -> None:
118
118
  # Copy bundled libs if present (Linux builds)
119
119
  lib_dir = os.path.join(tmpdir, "lib")
120
120
  if os.path.isdir(lib_dir):
121
- dest_lib = os.path.join(_DATA_DIR, "lib")
121
+ dest_lib = os.path.join(_INSTALL_DIR, "lib")
122
122
  os.makedirs(dest_lib, exist_ok=True)
123
123
  for f in os.listdir(lib_dir):
124
124
  src_f = os.path.join(lib_dir, f)
@@ -129,7 +129,7 @@ def install() -> None:
129
129
  print(f" Binary installed to {_BIN_PATH}")
130
130
 
131
131
  # Download embedding model
132
- print(" Downloading embedding model (~52 MB)...")
132
+ print(" Downloading embedding model (~23 MB)...")
133
133
  subprocess.run(
134
134
  [_BIN_PATH, "setup"],
135
135
  timeout=120,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: enzyme-python-package
3
- Version: 0.4.4
3
+ Version: 0.4.6
4
4
  Summary: Vault intelligence — concept graph and semantic search for markdown notes
5
5
  Author: Joshua Pham
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "enzyme-python-package"
7
- version = "0.4.4"
7
+ version = "0.4.6"
8
8
  description = "Vault intelligence — concept graph and semantic search for markdown notes"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"