Change-Id: I9fc247ab343c2cea0a8a5b7a3823b5525d6c311f
| ... | ... |
@@ -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 |