Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions gitdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,12 @@
# the New BSD License: https://opensource.org/license/bsd-3-clause/
"""Initialize the object database module"""

import sys
import os

#{ Initialization


def _init_externals():
"""Initialize external projects by putting them into the path"""
if 'PYOXIDIZER' not in os.environ:
where = os.path.join(os.path.dirname(__file__), 'ext', 'smmap')
if os.path.exists(where):
sys.path.append(where)

import smmap
del smmap
# END handle imports

#} END initialization

_init_externals()

__author__ = "Sebastian Thiel"
__contact__ = "[email protected]"
__homepage__ = "https://github.com/gitpython-developers/gitdb"
version_info = (4, 0, 11)
__version__ = '.'.join(str(i) for i in version_info)


# default imports
from gitdb.base import *
from gitdb.db import *
Expand Down