Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/gitdb/__init__.py: 95%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
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: https://opensource.org/license/bsd-3-clause/
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, 11)
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 *