~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/__init__.py

  • Committer: Michael Hudson
  • Date: 2009-02-10 21:56:58 UTC
  • mfrom: (268 trunk)
  • mto: This revision was merged to the branch mainline in revision 269.
  • Revision ID: michael.hudson@canonical.com-20090210215658-ethr146wj4795gnq
merge trunk

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."""
 
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
 
16
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