• Home
  • Raw
  • Download

Lines Matching +full:pip +full:- +full:requirements +full:- +full:file

4 # use this file except in compliance with the License. You may obtain a copy of
7 # https://www.apache.org/licenses/LICENSE-2.0
28 # path = "test-venv"
30 # requirements = [ "//tools/requirements.txt" ]
43 # constraints: A list of constraint files used when performing pip install
46 # requirements: A list of requirements files to install into this virtualenv
49 # pip_generate_hashes: (Default: false) Use --generate-hashes When
50 # running pip-compile to compute the final requirements.txt
52 # source_packages: A list of in-tree pw_python_package targets that will be
53 # checked for external third_party pip dependencies to install into this
56 # section of each pw_python_package's setup.cfg will be pip installed. See
96 if (defined(invoker.requirements)) {
97 _requirements = invoker.requirements
122 requirements = rebase_path(_requirements, root_build_dir)
141 "--depfile",
143 "--destination-dir",
145 "--stampfile",
150 # If the venv includes source packages then their 3p install requirements
151 # (defined in setup.cfg files) are collected into a single requirements.txt
152 # file.
175 "--gn-root-build-dir",
177 "--output-requirement-file",
182 args += [ "--constraint-files" ]
189 "--gn-packages",
199 # requirements.
211 # Use pip-compile to generate a fully expanded requirements.txt file for all
215 # Compile requirements with hashes
219 # Set the venv to run this pip install in.
226 _pip_args += [ "--no-index" ]
229 _pip_args += [ "--no-cache-dir" ]
234 [ "--find-links=" + rebase_path(link_dir, root_build_dir) ]
242 "--generate-hashes",
243 "--reuse-hashes",
248 "--resolver=backtracking",
250 # --allow-unsafe will force pinning pip and setuptools.
251 "--allow-unsafe",
252 "--output-file",
255 # Input requirements file:
259 # Pass offline related pip args through the pip-compile command.
262 "--pip-args",
267 # Extra requirements files
288 # This target will run 'pip install' in the venv to provide base
292 module = "pip"
294 # Set the venv to run this pip install in.
303 "--requirement",
310 "--log",
319 args += [ "--no-index" ]
322 args += [ "--no-cache-dir" ]
327 "--find-links",
335 pool = "$dir_pw_build/pool:pip($default_toolchain)"
342 module = "pip"
344 # Set the venv to run this pip install in.
352 "--upgrade",
359 "--log",
365 args += [ "--require-hashes" ]
369 args += [ "--no-index" ]
372 args += [ "--no-cache-dir" ]
377 "--find-links",
383 # Note: --no-build-isolation should be avoided for installing 3rd party
388 # Use the pip-tools compiled requiremets file. This contains the fully
393 "--requirement",
404 pool = "$dir_pw_build/pool:pip($default_toolchain)"
419 # Set the venv to run this pip install in.
425 "--pip-download-log",
427 "--wheel-dir",
429 "-r",
434 args += [ "--download-all-platforms" ]
447 pool = "$dir_pw_build/pool:pip($default_toolchain)"
473 # requirements or source packages are provided.