~frankban/juju-quickstart/bundlelib-019

  • Committer: Francesco Banconi
  • Date: 2015-01-30 16:37:07 UTC
  • mfrom: (115.1.16 add-tox)
  • Revision ID: francesco.banconi@canonical.com-20150130163707-71xano9r4641d1yq
Introduce tox for testing multiple sets of deps.

Quickstart must be run on several platforms/Ubuntu series,
each one with its own versions of the packages that
Quickstart depends on. The tox utility is used for both:
- handling those kind of separate scenarios;
- creating the development virtual environments.
The latter was previously done using virtualenv directly
in the Makefile. The new infrastructure should be
more flexible.

Update the relevant parts of the Makefile, also handling
the automatic installation of system dependencies.

Implement the ability to calculate the requirements
for the PyPI package automatically by parsing the
tox.ini file. I am not really sure about the method I
used (take a look at the setup.py file), but the 
alternative is to manually update those and violate DRY.
I think we could give it a try and fall back to the
manual approach if required.

Also implement a correct behavior for 
"python setup.py test", which now runs all the tests.

To test and QA this branch, run `make clean` and then 
follow what described in the HACKING.rst file, in the 
following paragraphs:
- Creating a development environment
- Testing and debugging the application
- Requirements
- Updating application and test dependencies

Thank you!

R=bac, benjamin.saller, jeff.pihach
CC=
https://codereview.appspot.com/189580044
Filename Latest Rev Last Changed Committer Comment Size
..
quickstart 1.1.1 10 years ago Francesco Banconi Base structure for the application. Diff
.bzrignore 115.1.9 9 years ago Francesco Banconi wip 109 bytes Diff Download File
.lbox 4.1.4 10 years ago Francesco Banconi Checkpoint 36 bytes Diff Download File
File .lbox.check 1.1.4 10 years ago Francesco Banconi Add the lbox files. 22 bytes Diff Download File
COPYING 1.1.1 10 years ago Francesco Banconi Base structure for the application. 33.7 KB Diff Download File
HACKING.rst 115.1.15 9 years ago Francesco Banconi Changes as per review. 15.9 KB Diff Download File
File juju-quickstart 28.2.1 10 years ago Francesco Banconi Fisrt pass. 1.1 KB Diff Download File
Makefile 115.1.16 9 years ago Francesco Banconi Improve sysdeps message in Makefile. 3.8 KB Diff Download File
MANIFEST.in 115.1.15 9 years ago Francesco Banconi Changes as per review. 1.1 KB Diff Download File
README.rst 114.1.3 9 years ago Francesco Banconi Update docs to include vivid. 2.3 KB Diff Download File
setup.cfg 115.1.7 9 years ago Francesco Banconi wip 865 bytes Diff Download File
setup.py 115.1.15 9 years ago Francesco Banconi Changes as per review. 5.1 KB Diff Download File
tox.ini 115.1.15 9 years ago Francesco Banconi Changes as per review. 3.6 KB Diff Download File