Skip to content

Commit 4b6d298

Browse files
setup: update install command
Using `pip install .` instead of `python setup.py install` is a modern way to install local package [1]. With outdated way, setuptools+pip fail to resolve dependencies for different versions (in our case, Python 3.6 and Python 3.7 runs will fail with "No module named 'numpy'" on pandas install while trying to install unsupported latest version). Excessive build_py stage is also skipped. 1. https://setuptools.pypa.io/en/latest/userguide/quickstart.html Part of #238
1 parent df797c1 commit 4b6d298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: install test
22
install:
3-
python setup.py install
3+
pip install --editable .
44
test:
55
python setup.py test
66
testdata:

0 commit comments

Comments
 (0)