Skip to content

Commit 68b6257

Browse files
committed
PEP-517 support
1 parent 6d3b29f commit 68b6257

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ jobs:
3030

3131
install:
3232
- |
33-
pip install -r requirements.txt
34-
python setup.py install
33+
python -m pip install .
3534
3635
script:
3736
- |

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ 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-
pip3 install pybind11 numpy setuptools
217-
python3 setup.py install
216+
python3 -m pip install .
218217
```
219218

220219
or you can install via pip:

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=42",
4+
"wheel",
5+
"numpy>=1.10.0",
6+
"pybind11>=2.0",
7+
]
8+
9+
build-backend = "setuptools.build_meta"

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)