cpython/Lib/packaging/command
Éric Araujo 95fc53f2b3 Clean up packaging.util: add __all__, remove some unused functions.
This huge module is the heir of six distutils modules, and contains
a number of miscellaneous functions.  I have attempted to help readers
of the source code with an annoted __all__.  Removed or deprecated
functions have been removed from the documentation; I’m working on
another patch to document the remaining public functions.

For the curious:

The unzip_file and untar_file were used by (or intended to be used by)
“pysetup install path/to/archive.tar.gz”, but the code presently used
shutil.unpack_archive and an helper function, so I just deleted them.
They’re still in the repository if we need them in the future.

The find_packages function is not used anymore but I want to discuss
module and package auto-discovery (in “pysetup create”) again before
removing it.

subst_vars now lives in sysconfig; rfc822_escape is inlined in
packaging.metadata.  Other functions are for internal use only, or
deprecated; I have left them out of __all__ and sprinkled TODO notes
for future cleanups.
2011-09-01 05:11:29 +02:00
..
__init__.py Fix packaging command registry to let Windows machines find bdist_msi 2011-08-31 16:12:31 +02:00
bdist.py Remove obsolete mentions of the compress program and .Z archives. 2011-08-30 01:19:02 +02:00
bdist_dumb.py Make bdist_* commands respect --skip-build passed to bdist (#10946). 2011-08-30 01:42:50 +02:00
bdist_msi.py Make bdist_* commands respect --skip-build passed to bdist (#10946). 2011-08-30 01:42:50 +02:00
bdist_wininst.py Make bdist_* commands respect --skip-build passed to bdist (#10946). 2011-08-30 01:42:50 +02:00
build.py
build_clib.py
build_ext.py Fix typo I introduced in f93acf8844ec 2011-08-30 22:13:21 +02:00
build_py.py Clean up packaging.util: add __all__, remove some unused functions. 2011-09-01 05:11:29 +02:00
build_scripts.py Issue #10419, issue #6011: port 6ad356525381 fix from distutils to packaging 2011-05-19 15:18:36 +02:00
check.py Fix format of warnings from the packaging check command 2011-06-02 14:54:44 +02:00
clean.py
cmd.py Make TypeError message from Command.__init__ more useful 2011-07-29 02:32:41 +02:00
command_template
config.py packaging: use with open() instead of try/finally: close 2011-05-19 15:51:27 +02:00
install_data.py
install_dist.py
install_distinfo.py Minor cleanup 2011-08-20 09:19:25 +02:00
install_headers.py
install_lib.py Clean up packaging.util: add __all__, remove some unused functions. 2011-09-01 05:11:29 +02:00
install_scripts.py
register.py Clean up packaging.util: add __all__, remove some unused functions. 2011-09-01 05:11:29 +02:00
sdist.py Fix sdist to always include setup.cfg (#11092), to comply with the spec 2011-06-06 21:55:43 +02:00
test.py
upload.py Clean up packaging.util: add __all__, remove some unused functions. 2011-09-01 05:11:29 +02:00
upload_docs.py Factor out code used by packaging commands for HTTP requests (#12169). 2011-07-08 16:27:12 +02:00
wininst-6.0.exe
wininst-7.1.exe
wininst-8.0.exe
wininst-9.0-amd64.exe
wininst-9.0.exe
wininst-10.0-amd64.exe
wininst-10.0.exe