[yt-svn] commit/yt: brittonsmith: Changing instances of 'python setup.py develop' to 'pip install -e .'.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Aug 9 14:41:36 PDT 2017


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/6f814a18e160/
Changeset:   6f814a18e160
User:        brittonsmith
Date:        2017-08-09 21:41:17+00:00
Summary:     Changing instances of 'python setup.py develop' to 'pip install -e .'.
Affected #:  4 files

diff -r 00f7ca8d4411a53c9b98afa929adf6040666bbfe -r 6f814a18e160e98a599b8aee8e9c780e41c7806e README.md
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@
 ```
 git clone https://github.com/yt-project/yt yt-git
 cd yt-git
-python setup.py develop
+pip install -e .
 ```
 
 To set up yt in a virtualenv (and there are [many good

diff -r 00f7ca8d4411a53c9b98afa929adf6040666bbfe -r 6f814a18e160e98a599b8aee8e9c780e41c7806e doc/source/faq/index.rst
--- a/doc/source/faq/index.rst
+++ b/doc/source/faq/index.rst
@@ -67,7 +67,7 @@
 .. code-block:: bash
 
     cd $YT_GIT
-    python setup.py develop
+    pip install -e .
 
 where ``$YT_GIT`` is the path to the yt git repository.
 

diff -r 00f7ca8d4411a53c9b98afa929adf6040666bbfe -r 6f814a18e160e98a599b8aee8e9c780e41c7806e doc/source/help/index.rst
--- a/doc/source/help/index.rst
+++ b/doc/source/help/index.rst
@@ -69,7 +69,7 @@
 
 .. code-block:: bash
 
-  $ python setup.py develop
+  $ pip install -e .
 
 Now try running yt again with:
 
@@ -122,7 +122,7 @@
 
 .. code-block:: bash
 
-  python setup.py develop
+   $ pip install -e .
 
 in the root directory of the yt git repository.
 

diff -r 00f7ca8d4411a53c9b98afa929adf6040666bbfe -r 6f814a18e160e98a599b8aee8e9c780e41c7806e doc/source/installing.rst
--- a/doc/source/installing.rst
+++ b/doc/source/installing.rst
@@ -286,13 +286,13 @@
   $ git clone https://github.com/yt-project/yt
 
 Once inside the yt directory, update to the appropriate branch and
-run ``setup.py develop``. For example, the following commands will allow you
+run ``pip install -e .``. For example, the following commands will allow you
 to see the tip of the development branch.
 
 .. code-block:: bash
 
   $ git checkout master
-  $ python setup.py develop
+  $ pip install -e .
 
 This will make sure you are running a version of yt corresponding to the
 most up-to-date source code.
@@ -327,7 +327,7 @@
   $ cd /path/to/yt-git
   $ ./clean.sh
   $ echo /path/to/rockstar > rockstar.cfg
-  $ python setup.py develop
+  $ pip install -e .
 
 Here ``/path/to/yt-git`` is the path to your clone of the yt git repository
 and ``/path/to/rockstar`` is the path to your clone of Matt Turk's fork of
@@ -407,7 +407,7 @@
   $ git clone https://github.com/yt-project/yt
   $ cd yt
   $ git checkout master
-  $ python setup.py install --user --prefix=
+  $ pip install -e . --user --prefix=
 
 .. note::
 
@@ -439,7 +439,7 @@
   $ git clone https://github.com/yt-project/yt
   $ cd yt
   $ git checkout master
-  $ python setup.py develop --user --prefix=
+  $ pip install -e . --user --prefix=
 
 As above, you can leave off ``--user --prefix=`` if you want to install yt into
 the default package install path.  If you do not have write access for this
@@ -569,7 +569,7 @@
 
   $ cd yt-<machine>/src/yt-git
   $ git checkout <desired version>
-  $ python setup.py develop
+  $ pip install -e .
 
 Valid versions to jump to are described in :ref:`branches-of-yt`.
 
@@ -595,7 +595,7 @@
 
   $ cd yt
   $ git checkout <desired-version>
-  $ python setup.py install --user --prefix=
+  $ pip install -e . --user --prefix=
 
 Valid versions to jump to are described in :ref:`branches-of-yt`).

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the yt-svn mailing list