mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Remove virtualenv dependency.
This commit is contained in:
parent
34e9d11786
commit
62d63724bf
2 changed files with 1 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ def py_interface(
|
|||
|
||||
def make_venv(envdir: str, python: str) -> None:
|
||||
env = dict(os.environ, VIRTUALENV_NO_DOWNLOAD='1')
|
||||
cmd = (sys.executable, '-mvirtualenv', envdir, '-p', python)
|
||||
cmd = (sys.executable, '-mvenv', envdir)
|
||||
cmd_output_b(*cmd, env=env, cwd='/')
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ install_requires =
|
|||
nodeenv>=0.11.1
|
||||
pyyaml>=5.1
|
||||
toml
|
||||
virtualenv>=15.2
|
||||
importlib-metadata;python_version<"3.8"
|
||||
importlib-resources;python_version<"3.7"
|
||||
python_requires = >=3.6.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue