Просмотр исходного кода

build_apps: Disable the pip version check when downloading wheels

If the user is not using the latest version of pip, they will likely be
spammed by pip enough as is. There is not much need to remind them about
this for each built platform.
Mitchell Stokes 5 лет назад
Родитель
Сommit
306c0fce0f
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      direct/src/dist/commands.py

+ 2 - 1
direct/src/dist/commands.py

@@ -425,12 +425,13 @@ class build_apps(setuptools.Command):
                     os.remove(os.path.join(whldir, whl))
 
         pip_args = [
+            '--disable-pip-version-check',
             'download',
             '-d', whldir,
             '-r', self.requirements_path,
             '--only-binary', ':all:',
             '--platform', platform,
-            '--abi', abi_tag
+            '--abi', abi_tag,
         ]
 
         if self.use_optimized_wheels: