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:
parent
6cbb7d650f
commit
142bb0e3d4
1 changed files with 1 additions and 0 deletions
1
setup.py
1
setup.py
|
@ -19,6 +19,7 @@
|
||||||
except ImportError:
|
except ImportError:
|
||||||
cythonize = None
|
cythonize = None
|
||||||
|
|
||||||
|
sys.path += [os.path.dirname(__file__)]
|
||||||
import setup_checksums
|
import setup_checksums
|
||||||
import setup_compress
|
import setup_compress
|
||||||
import setup_crypto
|
import setup_crypto
|
||||||
|
|
Loading…
Reference in a new issue