Skip to content

Commit

Permalink
improve documentation for install_command (#2111)
Browse files Browse the repository at this point in the history
Co-authored-by: Bernát Gábor <[email protected]>
  • Loading branch information
jugmac00 and gaborbernat authored Jul 21, 2021
1 parent b35565a commit 20d0646
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changelog/2081.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The documentation of ``install_command`` now also mentions that you can provide arbitrary commands - by :user:`jugmac00`
7 changes: 7 additions & 0 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,13 @@ Complete list of settings that you can put into ``testenv*`` sections:
such as ``--pre`` (configured as ``pip_pre``) and potentially index-options from the
deprecated :conf:`indexserver` option.

.. note::

You can also provide arbitrary commands to the ``install_command``. Please take care that these commands can be
executed on the supported operating systems. When executing shell scripts we recommend to not specify the script
directly but instead pass it to the appropriate shell as argument (e.g. prefer ``bash script.sh`` over
``script.sh``).

.. conf:: list_dependencies_command ^ ARGV ^ python -m pip freeze

.. versionadded:: 2.4
Expand Down

0 comments on commit 20d0646

Please sign in to comment.