gitpython-developers / gitdb

IO of git-style object databases
http://gitdb.readthedocs.org
Other
218 stars 65 forks source link

Never add a vendored smmap directory to sys.path #102

Closed EliahKagan closed 11 months ago

EliahKagan commented 11 months ago

This removes the logic that appended the git submodule directory for smmap to sys.path under most circumstances when the version of gitdb was not from PyPI. Now gitdb does not modify sys.path.

See GitPython#1717 and GitPython#1720 for context. This change is roughly equivalent to the change to GitPython, though as noted the behavior being eliminated is subtly different here and there.

Please note that this does not make any documentation changes (and the changes in #103 are not related to this).