mirror of
https://github.com/python/cpython.git
synced 2024-12-28 11:14:26 +08:00
95fc53f2b3
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. |
||
---|---|---|
.. | ||
fake_dists | ||
fixer | ||
pypiserver | ||
__init__.py | ||
__main__.py | ||
LONG_DESC.txt | ||
PKG-INFO | ||
pypi_server.py | ||
pypi_test_server.py | ||
SETUPTOOLS-PKG-INFO | ||
SETUPTOOLS-PKG-INFO2 | ||
support.py | ||
test_ccompiler.py | ||
test_command_bdist_dumb.py | ||
test_command_bdist_msi.py | ||
test_command_bdist_wininst.py | ||
test_command_bdist.py | ||
test_command_build_clib.py | ||
test_command_build_ext.py | ||
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 | ||
test_command_install_distinfo.py | ||
test_command_install_headers.py | ||
test_command_install_lib.py | ||
test_command_install_scripts.py | ||
test_command_register.py | ||
test_command_sdist.py | ||
test_command_test.py | ||
test_command_upload_docs.py | ||
test_command_upload.py | ||
test_compiler.py | ||
test_config.py | ||
test_create.py | ||
test_cygwinccompiler.py | ||
test_database.py | ||
test_depgraph.py | ||
test_dist.py | ||
test_extension.py | ||
test_install.py | ||
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 | ||
test_run.py | ||
test_uninstall.py | ||
test_unixccompiler.py | ||
test_util.py | ||
test_version.py |