1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-03 13:45:31 +00:00

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>
This commit is contained in:
Andrey Bienkowski 2022-02-25 07:52:50 +03:00
parent 6cbb7d650f
commit 142bb0e3d4

View file

@ -19,6 +19,7 @@
except ImportError:
cythonize = None
sys.path += [os.path.dirname(__file__)]
import setup_checksums
import setup_compress
import setup_crypto