Merge "Comment option to enable Setuptools warnings"

This commit is contained in:
Jenkins 2014-12-19 20:10:48 +00:00 committed by Gerrit Code Review
commit 59fcbb282b

View File

@ -68,6 +68,13 @@ function configure_pypi_alternative_url {
} }
# Setuptools 8 implements PEP 440, and 8.0.4 adds a warning triggered any time
# pkg_resources inspects the list of installed Python packages if there are
# non-compliant version numbers in the egg-info (for example, from distro
# system packaged Python libraries). This is off by default after 8.2 but can
# be enabled by uncommenting the lines below.
#PYTHONWARNINGS=$PYTHONWARNINGS,always::RuntimeWarning:pkg_resources
#export PYTHONWARNINGS
# Show starting versions # Show starting versions
get_versions get_versions