You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1KB

  1. # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
  2. #
  3. # This module is part of GitDB and is released under
  4. # the New BSD License: http://www.opensource.org/licenses/bsd-license.php
  5. """Initialize the object database module"""
  6. import sys
  7. import os
  8. #{ Initialization
  9. def _init_externals():
  10. """Initialize external projects by putting them into the path"""
  11. for module in ('smmap',):
  12. sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', module))
  13. try:
  14. __import__(module)
  15. except ImportError:
  16. raise ImportError("'%s' could not be imported, assure it is located in your PYTHONPATH" % module)
  17. # END verify import
  18. # END handel imports
  19. #} END initialization
  20. _init_externals()
  21. __author__ = "Sebastian Thiel"
  22. __contact__ = "byronimo@gmail.com"
  23. __homepage__ = "https://github.com/gitpython-developers/gitdb"
  24. version_info = (2, 0, 5)
  25. __version__ = '.'.join(str(i) for i in version_info)
  26. # default imports
  27. from gitdb.base import *
  28. from gitdb.db import *
  29. from gitdb.stream import *