• É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
..
__init__.py Loading commit data...
bdist.py Loading commit data...
bdist_dumb.py Loading commit data...
bdist_msi.py Loading commit data...
bdist_wininst.py Loading commit data...
build.py Loading commit data...
build_clib.py Loading commit data...
build_ext.py Loading commit data...
build_py.py Loading commit data...
build_scripts.py Loading commit data...
check.py Loading commit data...
clean.py Loading commit data...
cmd.py Loading commit data...
command_template Loading commit data...
config.py Loading commit data...
install_data.py Loading commit data...
install_dist.py Loading commit data...
install_distinfo.py Loading commit data...
install_headers.py Loading commit data...
install_lib.py Loading commit data...
install_scripts.py Loading commit data...
register.py Loading commit data...
sdist.py Loading commit data...
test.py Loading commit data...
upload.py Loading commit data...
upload_docs.py Loading commit data...
wininst-10.0-amd64.exe Loading commit data...
wininst-10.0.exe Loading commit data...
wininst-6.0.exe Loading commit data...
wininst-7.1.exe Loading commit data...
wininst-8.0.exe Loading commit data...
wininst-9.0-amd64.exe Loading commit data...
wininst-9.0.exe Loading commit data...