feat: by default include setuptools

This commit is contained in:
Daylin Morgan 2023-08-04 09:53:40 -05:00
parent ae30ff2b84
commit 7da6cc79f0
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -52,7 +52,7 @@ from typing import (
from urllib.error import HTTPError from urllib.error import HTTPError
from urllib.request import urlopen from urllib.request import urlopen
__version__ = "23.5a7-1-g86f4773-dev" __version__ = "23.5a7-1-gae30ff2-dev"
class Spinner: class Spinner:
@ -860,6 +860,9 @@ class ViVenv:
"--force-reinstall", "--force-reinstall",
] + self.meta.spec ] + self.meta.spec
if not Env().viv_no_setuptools and "setuptools" not in self.meta.spec:
cmd.append("setuptools")
run( run(
cmd, cmd,
spinmsg="installing packages in vivenv", spinmsg="installing packages in vivenv",