Skip to content

Commit

Permalink
Merge pull request #1423 from larsoner/record
Browse files Browse the repository at this point in the history
DOC: Document RECORD modification
  • Loading branch information
willingc authored Dec 1, 2023
2 parents ad04323 + 6d8be68 commit b461de8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions source/specifications/recording-installed-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,15 @@ attempt to uninstall or upgrade the package.
(This restriction does not apply to tools that rely on other sources of information,
such as system package managers in Linux distros.)

.. note::

It is *strongly discouraged* for an installed package to modify itself
(e.g., store cache files under its namespace in ``site-packages``).
Changes inside ``site-packages`` should be left to specialized installer
tools such as pip. If a package is nevertheless modified in this way,
then the ``RECORD`` must be updated, otherwise uninstalling the package
will leave unlisted files in place (possibly resulting in a zombie
namespace package).

The INSTALLER file
==================
Expand Down

0 comments on commit b461de8

Please sign in to comment.