summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-11-17 14:00:31 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-11-17 14:00:31 +0000
commita04edbe7e4b59a2af7b714196f9fe5f25dec20c2 (patch)
treea1a6f910f6a12e83f4ca532d7e90da72751b004b
parenta0e8e53cecc238e3bce2247308fe7dd94114ef35 (diff)
downloadpython-setuptools-git-a04edbe7e4b59a2af7b714196f9fe5f25dec20c2.tar.gz
Add note about global distutils.cfg
-rw-r--r--docs/deprecated/distutils-legacy.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/deprecated/distutils-legacy.rst b/docs/deprecated/distutils-legacy.rst
index e106ce97..63c8ff07 100644
--- a/docs/deprecated/distutils-legacy.rst
+++ b/docs/deprecated/distutils-legacy.rst
@@ -7,6 +7,15 @@ Since the 60.0.0 release, Setuptools includes a local, vendored copy of distutil
SETUPTOOLS_USE_DISTUTILS=stdlib
+.. warning::
+ Please note that this also affects how ``distutils.cfg`` files inside stdlib's ``distutils``
+ package directory are processed.
+ Unless ``SETUPTOOLS_USE_DISTUTILS=stdlib``, they will have no effect on the build process.
+
+ You can still use a global user config file, ``~/.pydistutils.cfg`` (POSIX) or ``%USERPROFILE%/pydistutils.cfg`` (Windows),
+ or use the environment variable :doc:`DIST_EXTRA_CONFIG <deprecated/distutils/configfile>` to point to another
+ supplementary configuration file.
+
Prefer Setuptools
-----------------