~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/__init__.py

  • Committer: Michael Hudson
  • Date: 2008-09-12 04:36:13 UTC
  • Revision ID: michael.hudson@canonical.com-20080912043613-d2550i1udbl2g86b
our tests aren't the greatest, but let's keep them passing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# along with this program; if not, write to the Free Software
13
13
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
14
14
 
15
 
"""A simple container to turn this into a python package.
16
 
 
17
 
We also check the versions of some dependencies.
18
 
"""
19
 
 
20
 
import pkg_resources
21
 
 
22
 
__version__ = '1.10'
 
15
"""Just a simple container to turn this into a python package."""
 
16
__version__ = '1.6'
23
17
required_bzrlib = (1, 6)
24
 
 
25
 
pkg_resources.get_distribution('Paste>=1.6')
26
 
try:
27
 
    pkg_resources.get_distribution('PasteDeploy>=1.3')
28
 
except pkg_resources.DistributionNotFound:
29
 
    # No paste.deploy is OK, but an old paste.deploy is bad.
30
 
    pass