mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Add current dir sys.path as well
This commit is contained in:
@@ -35,6 +35,7 @@ import sys
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
sys.path.insert(0, os.path.abspath(".."))
|
||||
sys.path.insert(0, os.path.abspath("."))
|
||||
from importlib.metadata import version # noqa: E402, isort:skip
|
||||
|
||||
setupVersion = version("pygithub")
|
||||
|
||||
Reference in New Issue
Block a user