summaryrefslogtreecommitdiff
path: root/.github/workflows/pip-packaging-windows.yml
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2023-01-12 21:46:50 +0100
committerGitHub <noreply@github.com>2023-01-12 21:46:50 +0100
commit533efd51253b0770f9a7de04a42f0820f1a1af66 (patch)
treeb984a57753f723513095fc11489dccd25923715b /.github/workflows/pip-packaging-windows.yml
parentfd7ca7ad464fbd5fef42802a30ae8f74dffe938e (diff)
parent14a0e7bc0a89ab5d576c39ffd596843608fbf1dc (diff)
Merge pull request #769 from VincentRouvreau/strip_python_modules
Python pip modules enhancements
Diffstat (limited to '.github/workflows/pip-packaging-windows.yml')
-rw-r--r--.github/workflows/pip-packaging-windows.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/pip-packaging-windows.yml b/.github/workflows/pip-packaging-windows.yml
index df0db9a5..e5a7d817 100644
--- a/.github/workflows/pip-packaging-windows.yml
+++ b/.github/workflows/pip-packaging-windows.yml
@@ -27,19 +27,17 @@ jobs:
vcpkg version
ls "C:\vcpkg\installed\x64-windows\bin\"
python -m pip install --user -r .\ext\gudhi-deploy\build-requirements.txt
- python -m pip install --user twine
+ python -m pip install --user build twine
python -m pip list
- name: Build python wheel and install it
run: |
mkdir build
cd ".\build\"
cmake -DCMAKE_BUILD_TYPE=Release -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON -DCMAKE_TOOLCHAIN_FILE=c:\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows ..
- Get-Location
- dir
cd ".\src\python\"
cp "C:\vcpkg\installed\x64-windows\bin\mpfr*.dll" ".\gudhi\"
cp "C:\vcpkg\installed\x64-windows\bin\gmp*.dll" ".\gudhi\"
- python setup.py bdist_wheel
+ python -m build -n
ls ".\dist\"
cd ".\dist\"
Get-ChildItem *.whl | ForEach-Object{python -m pip install --user $_.Name}