| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3d3e957 commit 965d2d3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,34 +4,12 @@ | |||
| 4 | 4 | # the New BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 5 | 5 | """Initialize the object database module""" | |
| 6 | 6 | ||
| 7 | - import sys | ||
| 8 | - import os | ||
| 9 | - | ||
| 10 | - #{ Initialization | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - def _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) | ||
| 19 | - | ||
| 20 | - import smmap | ||
| 21 | - del smmap | ||
| 22 | - # END handle imports | ||
| 23 | - | ||
| 24 | - #} END initialization | ||
| 25 | - | ||
| 26 | - _init_externals() | ||
| 27 | - | ||
| 28 | 7 | __author__ = "Sebastian Thiel" | |
| 29 | 8 | __contact__ = "byronimo@gmail.com" | |
| 30 | 9 | __homepage__ = "https://github.com/gitpython-developers/gitdb" | |
| 31 | 10 | version_info = (4, 0, 11) | |
| 32 | 11 | __version__ = '.'.join(str(i) for i in version_info) | |
| 33 | 12 | ||
| 34 | - | ||
| 35 | 13 | # default imports | |
| 36 | 14 | from gitdb.base import * | |
| 37 | 15 | from gitdb.db import * | |
| Back | FazBrowse Home | New Git URL |
0 commit comments