Skip to content

Commit 20d0646

Browse files
improve documentation for install_command (#2111)
Co-authored-by: Bernát Gábor <[email protected]>
1 parent b35565a commit 20d0646

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/changelog/2081.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The documentation of ``install_command`` now also mentions that you can provide arbitrary commands - by :user:`jugmac00`

docs/config.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,13 @@ Complete list of settings that you can put into ``testenv*`` sections:
306306
such as ``--pre`` (configured as ``pip_pre``) and potentially index-options from the
307307
deprecated :conf:`indexserver` option.
308308

309+
.. note::
310+
311+
You can also provide arbitrary commands to the ``install_command``. Please take care that these commands can be
312+
executed on the supported operating systems. When executing shell scripts we recommend to not specify the script
313+
directly but instead pass it to the appropriate shell as argument (e.g. prefer ``bash script.sh`` over
314+
``script.sh``).
315+
309316
.. conf:: list_dependencies_command ^ ARGV ^ python -m pip freeze
310317

311318
.. versionadded:: 2.4

0 commit comments

Comments
 (0)