From 142bb0e3d4aa2b689489b772501a4186b8f4470b Mon Sep 17 00:00:00 2001 From: Andrey Bienkowski Date: Fri, 25 Feb 2022 07:52:50 +0300 Subject: [PATCH] setup.py: add parent to sys.path When using pyproject.toml the parent of setup.py is not on sys.path by default. See --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 98a844269..977035d7d 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,7 @@ try: except ImportError: cythonize = None +sys.path += [os.path.dirname(__file__)] import setup_checksums import setup_compress import setup_crypto