A library for uploading and publishing disk images on various clouds
python setup.py install
It's best to develop with python 2.6 since that is the minimum supported version and tends to have the most restrictive features.
# Setup a virtual environment
virtualenv -p python2.6 venv
source venv/bin/activate
# Install the package for development
python setup.py develop
Additionally, run this for test dependencies:
pip install -r requirements-test.txt
Run either:
tox -e lint
OR:
flake8 cloudimg/ tests/
Unit tests can be executed manually or via tox
to cover all the supported
python interpreters.
py.test
Prior to using tox, ensure you have installed all the supported versions of python on your system (check tox.ini).
After that, simply run:
tox
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.