diff options
-rw-r--r-- | gitdb/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitdb/__init__.py b/gitdb/__init__.py index df1f242..2b06b24 100644 --- a/gitdb/__init__.py +++ b/gitdb/__init__.py @@ -13,7 +13,8 @@ import os def _init_externals(): """Initialize external projects by putting them into the path""" for module in ('smmap',): - sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', module)) + if 'PYOXIDIZER' not in os.environ: + sys.path.append(os.path.join(os.path.dirname(__file__), 'ext', module)) try: __import__(module) |