Improve dist checks.
@@ -28,7 +28,8 @@ whitelist_externals = cp
bash
scripts/*.sh
[testenv:py2.7-dist]
-# Verify library installs without any dependencies
+# Verify library installs without any dependencies when using python setup.py
+# install
skipdist = True
recreate = True
# NOTE: We intentionally set empty deps to ensure it works on a clean
@@ -42,9 +43,15 @@ commands = bash -c "pip show requests && exit 1 || exit 0"
bash -c "pip show apache-libcloud || exit 0"
python setup.py install
pip show apache-libcloud
+ # Verify all dependencies were installed
+ pip show requests
+ pip show typing
+ pip show enum34
+ pip show requests
[testenv:py3.7-dist]
-# Verify library installs without any dependencies
+# Verify library installs without any dependencies when using python setup.py
+# install
skipdist = True
recreate = True
# NOTE: We intentionally set empty deps to ensure it works on a clean
@@ -53,9 +60,15 @@ deps =
# Ensure those packages are not installed. If they are, it indicates unclean
# environment so those checks won't work correctly
commands = bash -c "pip show requests && exit 1 || exit 0"
+ bash -c "pip show typing && exit 1 || exit 0"
+ bash -c "pip show enum34 && exit 1 || exit 0"
bash -c "pip show apache-libcloud || exit 0"
python setup.py install
pip show apache-libcloud
+ # Verify all dependencies were installed
+ pip show requests
+ bash -c "pip show typing && exit 1 || exit 0"
+ bash -c "pip show enum34 && exit 1 || exit 0"
[testenv:docs]
deps = pysphere
