File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ To install the 'bleeding edge' version:
75
75
76
76
.. code-block :: bash
77
77
78
- $ pip install https://github.com/astropy/astroquery/archive/main.zip
78
+ $ pip install git+ https://github.com/astropy/astroquery.git
79
79
80
80
or cloned and installed from source:
81
81
@@ -86,7 +86,7 @@ or cloned and installed from source:
86
86
$ # If you do not:
87
87
$ git clone https://github.com/astropy/astroquery.git
88
88
$ cd astroquery
89
- $ python setup.py install
89
+ $ pip install .
90
90
91
91
Using astroquery
92
92
----------------
Original file line number Diff line number Diff line change @@ -74,7 +74,22 @@ The development version can be obtained and installed from github:
74
74
$ # If you do not:
75
75
$ git clone https://github.com/astropy/astroquery.git
76
76
$ 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]
78
93
79
94
80
95
Requirements
You can’t perform that action at this time.
0 commit comments