Skip to content

Commit 876dace

Browse files
authored
Merge pull request #1032 from fcr/uv_install
Added missing Python dependencies to the build
2 parents 9cc64aa + 507fb6e commit 876dace

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@ git clone https://github.com/htm-community/htm.core
105105
The Python portion of the build is performed in an isolated environment in a temp folder.
106106
When the build completes, the build artifacts and cache are deleted.
107107
108+
Note that if you want to build in a virgin uv environment you will need to install at least
109+
`pip` in this environment and activate the environment. So the steps would be:
110+
```
111+
cd <project directory>
112+
uv venv --python <python version, e.g. 3.12>
113+
uv pip install pip
114+
source .venv/bin/activate
115+
python htm_install.py
116+
```
117+
118+
108119
109120
3) After the build completes you are ready to import the library:
110121
```shell

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ classifiers = [
6363
]
6464

6565
dependencies = [
66+
"hexy>=1.4.4",
6667
"numpy>=2.0",
67-
"hexy>=1.4.4",
6868
"prettytable>=3.5.0",
69+
"wcwidth>=0.2.13"
6970
]
7071

7172
[project.urls]

0 commit comments

Comments
 (0)