Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pip install with python -m pip install #440

Merged
merged 1 commit into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ User installation

The simplest way to install ``giotto-tda`` is using ``pip`` ::

pip install -U giotto-tda
python -m pip install -U giotto-tda

If necessary, this will also automatically install all the above dependencies. Note: we recommend
upgrading ``pip`` to a recent version as the above may fail on very old versions.

Pre-release, experimental builds containing recently added features, and/or
bug fixes can be installed by running ::

pip install -U giotto-tda-nightly
python -m pip install -U giotto-tda-nightly

The main difference between ``giotto-tda-nightly`` and the developer installation (see the section
on contributing, below) is that the former is shipped with pre-compiled wheels (similarly to the stable
Expand Down
4 changes: 2 additions & 2 deletions doc/contributing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ changes. To install ``flake8`` just do

.. code-block:: python

pip install flake8
python -m pip install flake8

You can use ``flake8`` on your python code via the following instructions:

Expand All @@ -131,7 +131,7 @@ There are two ways to run unit tests for ``giotto-tda``.

.. code-block:: python

pip install pytest
python -m pip install pytest

You can use ``pytest`` on your python code via the following instructions:

Expand Down
6 changes: 3 additions & 3 deletions doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ User installation

The simplest way to install giotto-tda is using ``pip`` ::

pip install -U giotto-tda
python -m pip install -U giotto-tda

If necessary, this will also automatically install all the above dependencies. Note: we recommend
upgrading ``pip`` to a recent version as the above may fail on very old versions.

Pre-release, experimental builds containing recently added features, and/or
bug fixes can be installed by running ::

pip install -U giotto-tda-nightly
python -m pip install -U giotto-tda-nightly

The main difference between giotto-tda-nightly and the developer installation (see the section
on contributing, below) is that the former is shipped with pre-compiled wheels (similarly to the stable
Expand Down Expand Up @@ -137,7 +137,7 @@ Troubleshooting
If you need to understand where the compiler tries to look for ``boost`` headers,
you can install ``giotto-tda`` with::

pip install -e . -v
python -m pip install -e . -v

Then you can look at the output for lines starting with::

Expand Down
2 changes: 1 addition & 1 deletion doc/ipynb_to_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Usage: python ipynb_to_gallery.py <notebook.ipynb>

Dependencies:
pypandoc: install using `pip install pypandoc`
pypandoc: install using `python -m pip install pypandoc`
"""
import pypandoc as pdoc
import json
Expand Down
2 changes: 1 addition & 1 deletion doc/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ package ``giotto-tda`` will start at v0.1.4 for project continuity.

Short summary: install via ::

pip install -U giotto-tda
python -m pip install -U giotto-tda

and ``import gtda`` in your scripts or notebooks!

Expand Down