enzyme-python-package 0.4.4__tar.gz → 0.4.5__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.
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/PKG-INFO +1 -1
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/enzyme_python_package/__init__.py +5 -5
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/enzyme_python_package.egg-info/PKG-INFO +1 -1
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/pyproject.toml +1 -1
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/enzyme_python_package.egg-info/SOURCES.txt +0 -0
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/enzyme_python_package.egg-info/dependency_links.txt +0 -0
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/enzyme_python_package.egg-info/entry_points.txt +0 -0
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/enzyme_python_package.egg-info/top_level.txt +0 -0
- {enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/setup.cfg +0 -0
{enzyme_python_package-0.4.4 → enzyme_python_package-0.4.5}/enzyme_python_package/__init__.py
RENAMED
|
@@ -20,9 +20,9 @@ import urllib.request
|
|
|
20
20
|
REPO = "jshph/enzyme"
|
|
21
21
|
VERSION = "0.4.4"
|
|
22
22
|
|
|
23
|
-
#
|
|
24
|
-
|
|
25
|
-
_BIN_PATH = os.path.join(
|
|
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(
|
|
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(
|
|
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)
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "enzyme-python-package"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.5"
|
|
8
8
|
description = "Vault intelligence — concept graph and semantic search for markdown notes"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|