Browse code

Merge "Comment option to enable Setuptools warnings"

Jenkins authored on 2014/12/20 05:10:48
Showing 1 changed files
... ...
@@ -68,6 +68,13 @@ function configure_pypi_alternative_url {
68 68
 
69 69
 }
70 70
 
71
+# Setuptools 8 implements PEP 440, and 8.0.4 adds a warning triggered any time
72
+# pkg_resources inspects the list of installed Python packages if there are
73
+# non-compliant version numbers in the egg-info (for example, from distro
74
+# system packaged Python libraries). This is off by default after 8.2 but can
75
+# be enabled by uncommenting the lines below.
76
+#PYTHONWARNINGS=$PYTHONWARNINGS,always::RuntimeWarning:pkg_resources
77
+#export PYTHONWARNINGS
71 78
 
72 79
 # Show starting versions
73 80
 get_versions