File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,15 @@ attempt to uninstall or upgrade the package.
175
175
(This restriction does not apply to tools that rely on other sources of information,
176
176
such as system package managers in Linux distros.)
177
177
178
+ .. note ::
179
+
180
+ It is *strongly discouraged * for an installed package to modify itself
181
+ (e.g., store cache files under its namespace in ``site-packages ``).
182
+ Changes inside ``site-packages `` should be left to specialized installer
183
+ tools such as pip. If a package is nevertheless modified in this way,
184
+ then the ``RECORD `` must be updated, otherwise uninstalling the package
185
+ will leave unlisted files in place (possibly resulting in a zombie
186
+ namespace package).
178
187
179
188
The INSTALLER file
180
189
==================
You can’t perform that action at this time.
0 commit comments