Browse Source

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 years ago
parent
commit
306c0fce0f
1 changed files with 2 additions and 1 deletions
  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))
                     os.remove(os.path.join(whldir, whl))
 
 
         pip_args = [
         pip_args = [
+            '--disable-pip-version-check',
             'download',
             'download',
             '-d', whldir,
             '-d', whldir,
             '-r', self.requirements_path,
             '-r', self.requirements_path,
             '--only-binary', ':all:',
             '--only-binary', ':all:',
             '--platform', platform,
             '--platform', platform,
-            '--abi', abi_tag
+            '--abi', abi_tag,
         ]
         ]
 
 
         if self.use_optimized_wheels:
         if self.use_optimized_wheels: