Skip to content

Commit 8fe02c0

Browse files
committed
Support for packaging sdist
1 parent 2248ab4 commit 8fe02c0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ pypi: dist
33

44
dist:
55
-rm dist/*
6-
python3 setup.py sdist
6+
pip install build
7+
python3 -m build --sdist
78

89
test:
910
python3 -m unittest discover --start-directory python_bindings/tests --pattern "*_test*.py"

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ print("Recall for two batches:", np.mean(labels.reshape(-1) == np.arange(len(dat
213213
You can install from sources:
214214
```bash
215215
apt-get install -y python-setuptools python-pip
216-
python3 -m pip install .
216+
git clone [email protected]:nmslib/hnswlib.git
217+
cd hnswlib
218+
pip install .
217219
```
218220

219221
or you can install via pip:

0 commit comments

Comments
 (0)