x_vcpkg_get_python_packages
Note
This section covers an experimental feature of vcpkg which may change or be removed at any time.
Retrieve needed python packages.
Usage
x_vcpkg_get_python_packages(
[PYTHON_VERSION (2|3)]
PYTHON_EXECUTABLE <path to python binary>
REQUIREMENTS_FILE <file-path>
PACKAGES <packages to acquire>...
[OUT_PYTHON_VAR some_var]
)
Parameters
PYTHON_VERSION
Python version to be used.
Must be either 2 or 3.
PYTHON_EXECUTABLE
Full path to the python executable
REQUIREMENTS_FILE
Requirement file with the list of python packages
PACKAGES
List of python packages to acquire
OUT_PYTHON_VAR
Variable to store the path to the python binary inside the virtual environment
Source
ports/vcpkg-get-python-packages/x_vcpkg_get_python_packages.cmake
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for