~frankban/juju-quickstart/envs-backup

« back to all changes in this revision

Viewing changes to quickstart/__init__.py

  • Committer: Francesco Banconi
  • Date: 2013-10-14 11:27:50 UTC
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: francesco.banconi@canonical.com-20131014112750-ki6rg20mmcoldqzf
Base structure for the application.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This file is part of the Juju GUI, which lets users view and manage Juju
 
2
# environments within a graphical interface (https://launchpad.net/juju-gui).
 
3
# Copyright (C) 2013 Canonical Ltd.
 
4
#
 
5
# This program is free software: you can redistribute it and/or modify it under
 
6
# the terms of the GNU Affero General Public License version 3, as published by
 
7
# the Free Software Foundation.
 
8
#
 
9
# This program is distributed in the hope that it will be useful, but WITHOUT
 
10
# ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
 
11
# SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
# Affero General Public License for more details.
 
13
#
 
14
# You should have received a copy of the GNU Affero General Public License
 
15
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
 
 
17
"""Juju Quickstart is a Juju plugin which allows for easily setting up a Juju
 
18
environment in very few steps. The environment is bootstrapped and set up so
 
19
that it can be managed using a Web interface (the Juju GUI).
 
20
"""
 
21
 
 
22
VERSION = (0, 0, 1)
 
23
 
 
24
 
 
25
def get_version():
 
26
    """Return the Juju Quickstart version as a string."""
 
27
    return '.'.join(map(str, VERSION))