Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/gitdb/__init__.py: 95%
19 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:25 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:25 +0000
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"""
7import sys
8import os
10#{ Initialization
13def _init_externals():
14 """Initialize external projects by putting them into the path"""
15 if 'PYOXIDIZER' not in os.environ:
16 where = os.path.join(os.path.dirname(__file__), 'ext', 'smmap')
17 if os.path.exists(where):
18 sys.path.append(where)
20 import smmap
21 del smmap
22 # END handle imports
24#} END initialization
26_init_externals()
28__author__ = "Sebastian Thiel"
29__contact__ = "byronimo@gmail.com"
30__homepage__ = "https://github.com/gitpython-developers/gitdb"
31version_info = (4, 0, 10)
32__version__ = '.'.join(str(i) for i in version_info)
35# default imports
36from gitdb.base import *
37from gitdb.db import *
38from gitdb.stream import *