cpython/Lib/packaging/tests
É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
..
fake_dists
fixer
pypiserver
__init__.py
__main__.py test_packaging should clean up after itself (but it doesn't really) 2011-07-15 23:26:19 +02:00
LONG_DESC.txt
PKG-INFO
pypi_server.py
pypi_test_server.py
SETUPTOOLS-PKG-INFO
SETUPTOOLS-PKG-INFO2
support.py Fix test_packaging on Windows (#12678). 2011-08-24 02:15:25 +02:00
test_ccompiler.py
test_command_bdist_dumb.py Remove display options (--name, etc.) from the Distribution class. 2011-08-30 00:55:02 +02:00
test_command_bdist_msi.py
test_command_bdist_wininst.py
test_command_bdist.py Make bdist_* commands respect --skip-build passed to bdist (#10946). 2011-08-30 01:42:50 +02:00
test_command_build_clib.py
test_command_build_ext.py Try to fix packaging tests using build_ext on Windows (#12678) 2011-08-23 21:38:13 +02:00
test_command_build_py.py
test_command_build_scripts.py
test_command_build.py
test_command_check.py
test_command_clean.py
test_command_cmd.py
test_command_config.py
test_command_install_data.py
test_command_install_dist.py Minor code simplification 2011-08-26 00:05:11 +02:00
test_command_install_distinfo.py Another (hopefully last) fix for test_packaging on Windws (#12678) 2011-08-25 18:13:58 +02:00
test_command_install_headers.py
test_command_install_lib.py
test_command_install_scripts.py
test_command_register.py Remove display options (--name, etc.) from the Distribution class. 2011-08-30 00:55:02 +02:00
test_command_sdist.py Remove display options (--name, etc.) from the Distribution class. 2011-08-30 00:55:02 +02:00
test_command_test.py
test_command_upload_docs.py Factor out code used by packaging commands for HTTP requests (#12169). 2011-07-08 16:27:12 +02:00
test_command_upload.py
test_compiler.py
test_config.py
test_create.py
test_cygwinccompiler.py
test_database.py Stop trying to write into the stdlib during packaging tests (#12331). 2011-07-31 20:47:47 +02:00
test_depgraph.py
test_dist.py Remove display options (--name, etc.) from the Distribution class. 2011-08-30 00:55:02 +02:00
test_extension.py
test_install.py Minor packaging cleanup. 2011-07-29 02:37:21 +02:00
test_manifest.py
test_markers.py
test_metadata.py
test_mixin2to3.py
test_msvc9compiler.py
test_pypi_dist.py
test_pypi_server.py
test_pypi_simple.py
test_pypi_xmlrpc.py Use our existing drop-in, no-op decorator instead of redefining it. 2011-08-12 00:15:41 +02:00
test_run.py
test_uninstall.py Close file handles in a timely manner in packaging.database (#12504). 2011-07-08 17:22:19 +02:00
test_unixccompiler.py
test_util.py Clean up packaging.util: add __all__, remove some unused functions. 2011-09-01 05:11:29 +02:00
test_version.py