Skip to content

Commit a6f3e0a

Browse files
authored
Merge pull request #2675 from jaymedina/patch-2
Updated pip command for repository install
2 parents 9e9addb + 8fc3440 commit a6f3e0a

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ To install the 'bleeding edge' version:
7575

7676
.. code-block:: bash
7777
78-
$ pip install https://github.com/astropy/astroquery/archive/main.zip
78+
$ pip install git+https://github.com/astropy/astroquery.git
7979
8080
or cloned and installed from source:
8181

@@ -86,7 +86,7 @@ or cloned and installed from source:
8686
$ # If you do not:
8787
$ git clone https://github.com/astropy/astroquery.git
8888
$ cd astroquery
89-
$ python setup.py install
89+
$ pip install .
9090
9191
Using astroquery
9292
----------------

docs/index.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,22 @@ The development version can be obtained and installed from github:
7474
$ # If you do not:
7575
$ git clone https://github.com/astropy/astroquery.git
7676
$ cd astroquery
77-
$ python setup.py install
77+
$ pip install .
78+
79+
80+
To install all the optional dependencies (listed below), add the option
81+
``[all]``. To install dependencies required for running the tests locally
82+
use ``[test]``, and for documentation build ``[docs]``.
83+
If you would like to modify the source, you can install
84+
``astroquery`` in editable mode, which means you don't need to rerun the
85+
install command after you made the changes.
86+
87+
To install all dependencies, including those required for local testing and
88+
building the documentation, in editable mode:
89+
90+
.. code-block:: bash
91+
92+
$ pip install -e .[all,test,docs]
7893
7994
8095
Requirements

0 commit comments

Comments
 (0)