diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-02-13 18:07:31 +0000 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-02-13 18:10:53 +0000 |
commit | a85b393d42b4ba946a201d4978759de4b65cbdad (patch) | |
tree | 80f008190c3a0562d33df422e9de12f416fdae72 /setuptools/command | |
parent | 23abfb848a1f618b190a94cb8304f0e72bc84499 (diff) | |
download | python-setuptools-git-a85b393d42b4ba946a201d4978759de4b65cbdad.tar.gz |
Clarify 'editable_wheel' and 'dist_info' are internal commands only
Diffstat (limited to 'setuptools/command')
-rw-r--r-- | setuptools/command/dist_info.py | 6 | ||||
-rw-r--r-- | setuptools/command/editable_wheel.py | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/setuptools/command/dist_info.py b/setuptools/command/dist_info.py index 0685c945..4966d852 100644 --- a/setuptools/command/dist_info.py +++ b/setuptools/command/dist_info.py @@ -19,8 +19,12 @@ from setuptools._deprecation_warning import SetuptoolsDeprecationWarning class dist_info(Command): + """ + This command is private and reserved for internal use of setuptools, + clients should use the ``setuptools.build_meta`` APIs. + """ - description = 'create a .dist-info directory' + description = "DO NOT CALL DIRECTLY, INTERNAL ONLY: create .dist-info directory" user_options = [ ('egg-base=', 'e', "directory containing .egg-info directories" diff --git a/setuptools/command/editable_wheel.py b/setuptools/command/editable_wheel.py index 86a272ac..30cf9ca1 100644 --- a/setuptools/command/editable_wheel.py +++ b/setuptools/command/editable_wheel.py @@ -104,10 +104,11 @@ Options like `package-data`, `include/exclude-package-data` or class editable_wheel(Command): """Build 'editable' wheel for development. - (This command is reserved for internal use of setuptools). + This command is private and reserved for internal use of setuptools, + clients should use the ``setuptools.build_meta`` APIs. """ - description = "create a PEP 660 'editable' wheel" + description = "DO NOT CALL DIRECTLY, INTERNAL ONLY: create PEP 660 editable wheel" user_options = [ ("dist-dir=", "d", "directory to put final built distributions in"), |