From babedc8aaec671afd2cceddf373221fe9264aaf7 2019-07-22 03:57:45 From: Matthias Bussonnier Date: 2019-07-22 03:57:45 Subject: [PATCH] no mention os setup.py install --- diff --git a/IPython/testing/plugin/Makefile b/IPython/testing/plugin/Makefile index 6f999a3..c626da4 100644 --- a/IPython/testing/plugin/Makefile +++ b/IPython/testing/plugin/Makefile @@ -67,7 +67,7 @@ all: base ipython # Main plugin and cleanup IPython_doctest_plugin.egg-info: $(SRC) - python setup.py install --prefix=$(PREFIX) + pip install . --prefix=$(PREFIX) touch $@ clean: diff --git a/IPython/testing/plugin/README.txt b/IPython/testing/plugin/README.txt index 6b34f9e..a85e5a1 100644 --- a/IPython/testing/plugin/README.txt +++ b/IPython/testing/plugin/README.txt @@ -12,12 +12,7 @@ install the plugin by using standard Python procedures (``setup.py install`` with appropriate arguments). To install the plugin using the Makefile, edit its first line to reflect where -you'd like the installation. If you want it system-wide, you may want to edit -the install line in the plugin target to use sudo and no prefix:: - - sudo python setup.py install - -instead of the code using `--prefix` that's in there. +you'd like the installation. Once you've set the prefix, simply build/install the plugin with:: diff --git a/tools/alldeps/README.txt b/tools/alldeps/README.txt index f40ec7a..ebe026b 100644 --- a/tools/alldeps/README.txt +++ b/tools/alldeps/README.txt @@ -43,7 +43,7 @@ It is meant to be used in an environment where you have your ``$PATH``, ``$PYTHONPATH``, etc variables properly configured, so that the installation of packages can be made with (using ``~/usr/local`` as an example):: - python setup.py install --prefix=~/usr/local + pip install . --prefix=~/usr/local For an explanation of how to do this, see below.