mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-03 10:17:40 +00:00
add pyproject.toml, fix sys.path, fixes #6466
setup.py: add parent to sys.path When using pyproject.toml the parent of setup.py is not on sys.path by default. See <pypa/setuptools#3134>.
This commit is contained in:
parent
e5e360d5b6
commit
82a80bf760
2 changed files with 4 additions and 0 deletions
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
[build-system]
|
||||
requires = ["setuptools", "pkgconfig", "Cython"]
|
||||
build-backend = "setuptools.build_meta"
|
1
setup.py
1
setup.py
|
@ -19,6 +19,7 @@
|
|||
except ImportError:
|
||||
cythonize = None
|
||||
|
||||
sys.path += [os.path.dirname(__file__)]
|
||||
import setup_checksums
|
||||
import setup_compress
|
||||
import setup_crypto
|
||||
|
|
Loading…
Reference in a new issue