remove . in sys.path

this should not be needed and is causing problems in python
3.12 due to the presence of the "changelog" directory

(cherry picked from commit 8faa17d431)
This commit is contained in:
Mike Bayer
2023-11-08 15:20:24 -05:00
parent 9bafbd339e
commit 82cda05d2e
+3 -1
View File
@@ -20,7 +20,9 @@ import sys
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath("../../lib"))
sys.path.insert(0, os.path.abspath("../..")) # examples
sys.path.insert(0, os.path.abspath("."))
# was never needed, does not work as of python 3.12 due to conflicts
#sys.path.insert(0, os.path.abspath("."))
# -- General configuration --------------------------------------------------