~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/__init__.py

  • Committer: Matt Nordhoff
  • Date: 2009-05-06 18:37:45 UTC
  • mto: This revision was merged to the branch mainline in revision 341.
  • Revision ID: mnordhoff@mattnordhoff.com-20090506183745-9tkcoj30dpkz6aqf
Finish up.

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
 
"""Just a simple container to turn this into a python package."""
16
 
__version__ = '1.6'
 
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'
17
23
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