From f2b7b3a8231cd6458b4f6f20041d00050bb2569b Mon Sep 17 00:00:00 2001 From: Dave Schaefer Date: Sun, 8 Oct 2023 10:39:33 -0600 Subject: [PATCH] Add doc for new sorting directive --- docs/pipfile.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/pipfile.md b/docs/pipfile.md index a260fa9d..e7f231b6 100644 --- a/docs/pipfile.md +++ b/docs/pipfile.md @@ -17,6 +17,7 @@ You should add both `Pipfile` and `Pipfile.lock` to the project's source control * `allow_prereleases` - Tell pipenv to install pre-release versions of a package -i.e. a version with an alpha/beta/etc. suffix, such as _1.0b1_. Equivalent to passing the `--pre` flag on the command line. * `disable_pip_input` - Prevent pipenv from asking for input. Equivalent to the `--no-input` flag. * `install_search_all_sources` - Allow installation of packages from an existing `Pipfile.lock` to search all defined indexes for the constrained package version and hash signatures. See [Specifying Package Indexes](indexes.md). +* `sort_pipfile` - Sort package names alphabetically inside each category. Categories will be sorted and updated on `install` and `uninstall`. This is purely cosmetic to make reading easier for humans, and has no effect on installation order or dependency resolution. Note that `Pipfile.lock` packages are always sorted alphabetically. ## Example Pipfile