mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
(installer) use pep517 for installing dependencies
the 'setup.py install' method is deprecated in favour of a build-system independent format: https://peps.python.org/pep-0517/ this is needed to install dependencies that don't have a pyproject.toml file (only setup.py) in a forward-compatible way
This commit is contained in:
parent
9997fde144
commit
d36bbb817c
@ -228,6 +228,7 @@ class InvokeAiInstance:
|
||||
(Path(__file__).parents[1] / "environments-and-requirements/requirements-base.txt")
|
||||
.expanduser()
|
||||
.resolve(),
|
||||
"--use-pep517",
|
||||
extra_index_url_arg,
|
||||
extra_index_url,
|
||||
]
|
||||
@ -240,6 +241,7 @@ class InvokeAiInstance:
|
||||
"install",
|
||||
"--require-virtualenv",
|
||||
Path(__file__).parents[1].expanduser().resolve(),
|
||||
"--use-pep517",
|
||||
extra_index_url_arg,
|
||||
extra_index_url,
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user