From b5710b2419b4d8579b25684446fb937956e1eff6 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 12 Oct 2022 16:20:46 -0400 Subject: [PATCH] Release v2022.10.12 --- CHANGELOG.rst | 12 ++++++++++++ news/5396.doc.rst | 1 - pipenv/__version__.py | 2 +- pipenv/pipenv.1 | 32 ++++++++++++++++++++++++++++++-- 4 files changed, 43 insertions(+), 4 deletions(-) delete mode 100644 news/5396.doc.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1056effc..d2429860 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,15 @@ +2022.10.12 (2022-10-12) +======================= +Pipenv 2022.10.12 (2022-10-12) +============================== + + +Improved Documentation +---------------------- + +- Update pipenv docs for with example for callabale package functions in Pipfile scripts `#5396 `_ + + 2022.10.11 (2022-10-11) ======================= Pipenv 2022.10.11 (2022-10-11) diff --git a/news/5396.doc.rst b/news/5396.doc.rst deleted file mode 100644 index ba10e37f..00000000 --- a/news/5396.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Update pipenv docs for with example for callabale package functions in Pipfile scripts diff --git a/pipenv/__version__.py b/pipenv/__version__.py index daa5381a..b27cf514 100644 --- a/pipenv/__version__.py +++ b/pipenv/__version__.py @@ -2,4 +2,4 @@ # // ) ) / / // ) ) //___) ) // ) ) || / / # //___/ / / / //___/ / // // / / || / / # // / / // ((____ // / / ||/ / -__version__ = "2022.10.12.dev0" +__version__ = "2022.10.12" diff --git a/pipenv/pipenv.1 b/pipenv/pipenv.1 index 70a876c3..bcb3e90f 100644 --- a/pipenv/pipenv.1 +++ b/pipenv/pipenv.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "PIPENV" "1" "Oct 11, 2022" "2022.10.11" "pipenv" +.TH "PIPENV" "1" "Oct 12, 2022" "2022.10.12" "pipenv" .SH NAME pipenv \- pipenv Documentation \fI\%\fP\fI\%\fP\fI\%\fP @@ -453,6 +453,13 @@ You might want to set \fBexport PIPENV_VENV_IN_PROJECT=1\fP in your .bashrc/.zsh .sp Congratulations, you now know how to install and use Python packages! ✨ 🍰 ✨ .SS Release and Version History +.SS 2022.10.12 (2022\-10\-12) +.SS Pipenv 2022.10.12 (2022\-10\-12) +.SS Improved Documentation +.INDENT 0.0 +.IP \(bu 2 +Update pipenv docs for with example for callabale package functions in Pipfile scripts \fI\%#5396\fP +.UNINDENT .SS 2022.10.11 (2022\-10\-11) .SS Pipenv 2022.10.11 (2022\-10\-11) .SS Bug Fixes @@ -4158,7 +4165,28 @@ I am really a very silly example indeed .UNINDENT .UNINDENT .sp -You can then display the names and commands of your shortcuts by running \fBpipenv scripts\fP in your terminal. +You can also specify pacakge functions as callables such as: \fB:\fP\&. These can also take arguments. +For exaple: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +[scripts] +my_func_with_args = {call = "package.module:func(\(aqarg1\(aq, \(aqarg2\(aq)"} +my_func_no_args = {call = "package.module:func()"} +.ft P +.fi +.UNINDENT +.UNINDENT +.INDENT 0.0 +.TP +.B :: +$ pipenv run my_func_with_args +$ pipenv run my_func_no_args +.UNINDENT +.sp +You can display the names and commands of your shortcuts by running \fBpipenv scripts\fP in your terminal. .INDENT 0.0 .INDENT 3.5 .sp