forked from mirror/Archipelago
Core: require setuptools>=75 (#5346)
Setuptools 70.3.0 seems to not work for us.
This commit is contained in:
1 parent
48906de873
commit
16d5b453a7
3 files changed
+4
-4
No files matched your search
+2
-2
@@ -74,11 +74,11 @@ def update_command():
|
||||
def install_pkg_resources(yes=False):
|
||||
try:
|
||||
import pkg_resources # noqa: F401
|
||||
except ImportError:
|
||||
except (AttributeError, ImportError):
|
||||
check_pip()
|
||||
if not yes:
|
||||
confirm("pkg_resources not found, press enter to install it")
|
||||
subprocess.call([sys.executable, "-m", "pip", "install", "--upgrade", "setuptools<81"])
|
||||
subprocess.call([sys.executable, "-m", "pip", "install", "--upgrade", "setuptools>=75,<81"])
|
||||
|
||||
|
||||
def update(yes: bool = False, force: bool = False) -> None:
|
||||
|
||||
Reference in new issue
Block a user