228a3c99bd
shutil.which() and distutils.spawn.find_executable() now use os.confstr("CS_PATH") if available instead of os.defpath, if the PATH environment variable is not set. Don't use os.confstr("CS_PATH") nor os.defpath if the PATH environment variable is set to an empty string to mimick Unix 'which' command behavior. Changes: * find_executable() now starts by checking for the executable in the current working directly case. Add an explicit "if not path: return None". * Add tests for PATH='' (empty string), PATH=':' and for PATHEXT. |
||
---|---|---|
.. | ||
Setup.sample | ||
__init__.py | ||
includetest.rst | ||
support.py | ||
test_archive_util.py | ||
test_bdist.py | ||
test_bdist_dumb.py | ||
test_bdist_msi.py | ||
test_bdist_rpm.py | ||
test_bdist_wininst.py | ||
test_build.py | ||
test_build_clib.py | ||
test_build_ext.py | ||
test_build_py.py | ||
test_build_scripts.py | ||
test_check.py | ||
test_clean.py | ||
test_cmd.py | ||
test_config.py | ||
test_config_cmd.py | ||
test_core.py | ||
test_cygwinccompiler.py | ||
test_dep_util.py | ||
test_dir_util.py | ||
test_dist.py | ||
test_extension.py | ||
test_file_util.py | ||
test_filelist.py | ||
test_install.py | ||
test_install_data.py | ||
test_install_headers.py | ||
test_install_lib.py | ||
test_install_scripts.py | ||
test_log.py | ||
test_msvc9compiler.py | ||
test_msvccompiler.py | ||
test_register.py | ||
test_sdist.py | ||
test_spawn.py | ||
test_sysconfig.py | ||
test_text_file.py | ||
test_unixccompiler.py | ||
test_upload.py | ||
test_util.py | ||
test_version.py | ||
test_versionpredicate.py |