Skip to content

Commit

Permalink
Merge pull request #11 from open-vcpkg/pip
Browse files Browse the repository at this point in the history
Pip
  • Loading branch information
m-kuhn authored Feb 12, 2024
2 parents 72a038e + 363adcb commit 3434849
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ports/py-pip/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
vcpkg_from_pythonhosted(
OUT_SOURCE_PATH SOURCE_PATH
PACKAGE_NAME pip
VERSION ${VERSION}
SHA512 b2d8bcff02fe196163e88e02702861bfccba202e5c71d8c6843eeebc84066efa6987574e26a89ff25f096645e99c824dde585fbae415b66d5eb88657bb4d9cb4
)

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}" OPTIONS -x)

vcpkg_install_copyright(FILE_LIST "${CURRENT_PORT_DIR}/copyright")

set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
13 changes: 13 additions & 0 deletions ports/py-pip/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "py-pip",
"version": "23.3.2",
"description": "Tool for installing and managing Python packages",
"homepage": "https://pypi.org/project/setuptools",
"dependencies": [
"py-setuptools",
{
"name": "vcpkg-python-scripts",
"host": true
}
]
}

0 comments on commit 3434849

Please sign in to comment.