Skip to content
Snippets Groups Projects
Commit 77061208eafe authored by Pierre Augier's avatar Pierre Augier
Browse files

makefile: replace `setup.py install` by `pip install`

parent 07ac8528eed8
No related branches found
No related tags found
2 merge requests!1292Draft: 7.0rc preparation,!1216Static MANIFEST.in, clean up Makefile (less failing direct calls of setup.py)
......@@ -43,7 +43,7 @@
@echo 'Commonly used make targets:'
@echo ' all - build program and documentation'
@echo ' install - install program and man pages to $$PREFIX ($(PREFIX))'
@echo ' install-home - install with setup.py install --home=$$HOME ($(HOME))'
@echo ' install-home - install with pip install --user'
@echo ' local - build for inplace usage'
@echo ' tests - run all tests in the automatic test suite'
@echo ' test-foo - run only specified tests (e.g. test-merge1.t)'
......@@ -101,8 +101,8 @@
install: install-bin install-doc
install-bin: build
$(PYTHON) setup.py $(PURE) install --root="$(DESTDIR)/" --prefix="$(PREFIX)" --force
install-bin:
$(PYTHON) -m pip install --prefix="$(PREFIX)" --force -v --config-settings --global-option=$(PURE)
install-chg: build-chg
make -C contrib/chg install PREFIX="$(PREFIX)"
......@@ -112,8 +112,8 @@
install-home: install-home-bin install-home-doc
install-home-bin: build
$(PYTHON) setup.py $(PURE) install --home="$(HOME)" --prefix="" --force
install-home-bin:
$(PYTHON) -m pip install --user --force -v --config-settings --global-option=$(PURE)
install-home-doc: doc
cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment