Use the correct install command.
Also make sure "wheel" package is installed and that we clean up old /
existing wheel files before generating a new one used for testing
purposes.
@@ -61,6 +61,8 @@ 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"
+ bash -c "rm -rf dist/apache_libcloud-*.whl"
+ pip install wheel
python setup.py bdist_wheel
bash -c "pip install dist/apache_libcloud-*.whl"
pip show apache-libcloud
@@ -103,8 +105,10 @@ 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
+ bash -c "rm -rf dist/apache_libcloud-*.whl"
+ pip install wheel
+ python setup.py bdist_wheel
+ bash -c "pip install dist/apache_libcloud-*.whl"
# Verify all dependencies were installed
pip show requests
bash -c "pip show typing && exit 1 || exit 0"
