/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2018-10-20 17:34:46 UTC
  • mto: (491.6.1 breezy)
  • mto: This revision was merged to the branch mainline in revision 494.
  • Revision ID: jelmer@jelmer.uk-20181020173446-eywejowpq25sg8pw
Rename serve-branches to loggerhead-serve.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Copyright (C) 2008, 2009 Canonical Ltd.
 
3
#
 
4
# This program is free software; you can redistribute it and/or modify
 
5
# it under the terms of the GNU General Public License as published by
 
6
# the Free Software Foundation; either version 2 of the License, or
 
7
# (at your option) any later version.
 
8
#
 
9
# This program is distributed in the hope that it will be useful,
 
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
# GNU General Public License for more details.
 
13
#
 
14
# You should have received a copy of the GNU General Public License
 
15
# along with this program; if not, write to the Free Software
 
16
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335  USA
 
17
 
 
18
"""A simple container to turn this into a python package.
 
19
 
 
20
We also check the versions of some dependencies.
 
21
"""
 
22
 
 
23
import pkg_resources
 
24
 
 
25
__version__ = '1.20.0'  # Keep in sync with ../__init__.py.
 
26
__revision__ = None
 
27
required_breezy = (3, 0)
 
28
 
 
29
pkg_resources.get_distribution('Paste>=1.6')
 
30
try:
 
31
    pkg_resources.get_distribution('PasteDeploy>=1.3')
 
32
except pkg_resources.DistributionNotFound:
 
33
    # No paste.deploy is OK, but an old paste.deploy is bad.
 
34
    pass