• Éric Araujo's avatar
    Clean up packaging.util: add __all__, remove some unused functions. · 95fc53f2
    Éric Araujo yazdı
    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.
    95fc53f2
Adı
Son kayıt (commit)
Son güncelleme
..
fake_dists Loading commit data...
fixer Loading commit data...
pypiserver Loading commit data...
LONG_DESC.txt Loading commit data...
PKG-INFO Loading commit data...
SETUPTOOLS-PKG-INFO Loading commit data...
SETUPTOOLS-PKG-INFO2 Loading commit data...
__init__.py Loading commit data...
__main__.py Loading commit data...
pypi_server.py Loading commit data...
pypi_test_server.py Loading commit data...
support.py Loading commit data...
test_ccompiler.py Loading commit data...
test_command_bdist.py Loading commit data...
test_command_bdist_dumb.py Loading commit data...
test_command_bdist_msi.py Loading commit data...
test_command_bdist_wininst.py Loading commit data...
test_command_build.py Loading commit data...
test_command_build_clib.py Loading commit data...
test_command_build_ext.py Loading commit data...
test_command_build_py.py Loading commit data...
test_command_build_scripts.py Loading commit data...
test_command_check.py Loading commit data...
test_command_clean.py Loading commit data...
test_command_cmd.py Loading commit data...
test_command_config.py Loading commit data...
test_command_install_data.py Loading commit data...
test_command_install_dist.py Loading commit data...
test_command_install_distinfo.py Loading commit data...
test_command_install_headers.py Loading commit data...
test_command_install_lib.py Loading commit data...
test_command_install_scripts.py Loading commit data...
test_command_register.py Loading commit data...
test_command_sdist.py Loading commit data...
test_command_test.py Loading commit data...
test_command_upload.py Loading commit data...
test_command_upload_docs.py Loading commit data...
test_compiler.py Loading commit data...
test_config.py Loading commit data...
test_create.py Loading commit data...
test_cygwinccompiler.py Loading commit data...
test_database.py Loading commit data...
test_depgraph.py Loading commit data...
test_dist.py Loading commit data...
test_extension.py Loading commit data...
test_install.py Loading commit data...
test_manifest.py Loading commit data...
test_markers.py Loading commit data...
test_metadata.py Loading commit data...
test_mixin2to3.py Loading commit data...
test_msvc9compiler.py Loading commit data...
test_pypi_dist.py Loading commit data...
test_pypi_server.py Loading commit data...
test_pypi_simple.py Loading commit data...
test_pypi_xmlrpc.py Loading commit data...
test_run.py Loading commit data...
test_uninstall.py Loading commit data...
test_unixccompiler.py Loading commit data...
test_util.py Loading commit data...
test_version.py Loading commit data...