diff options
author | Andrey Bienkowski <hexagon-recursion@posteo.net> | 2022-02-25 07:52:50 +0300 |
---|---|---|
committer | Andrey Bienkowski <hexagon-recursion@posteo.net> | 2022-02-25 07:52:50 +0300 |
commit | 142bb0e3d4aa2b689489b772501a4186b8f4470b (patch) | |
tree | cea70a57a7464429ec946326fc1e334904d35b9e /setup.py | |
parent | 6cbb7d650fcab4181429572b199267c40c066796 (diff) |
setup.py: add parent to sys.path
When using pyproject.toml the parent of setup.py
is not on sys.path by default.
See <https://github.com/pypa/setuptools/discussions/3134>
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ try: except ImportError: cythonize = None +sys.path += [os.path.dirname(__file__)] import setup_checksums import setup_compress import setup_crypto |