summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-06-11 07:23:23 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-06-11 07:23:23 +0200
commite4a59f9ec6685534b03474cbcfe9395d601516e2 (patch)
tree44fd050a48da503de911600edab83f59201980b8 /.github
parent70caa9be348c87526e2d41194a3618d14633b7dc (diff)
Add distributor the right to add dll to the package
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pip-packaging-windows.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/pip-packaging-windows.yml b/.github/workflows/pip-packaging-windows.yml
index 95205258..fe4d0227 100644
--- a/.github/workflows/pip-packaging-windows.yml
+++ b/.github/workflows/pip-packaging-windows.yml
@@ -35,14 +35,11 @@ jobs:
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DGMP_INCLUDE_DIR="c:/vcpkg/installed/x64-windows/include" -DGMP_LIBRARIES="c:/vcpkg/installed/x64-windows/lib/mpir.lib" -DGMP_LIBRARIES_DIR="c:/vcpkg/installed/x64-windows/lib" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DPython_ADDITIONAL_VERSIONS=3 ..
cd src/python
+ cp c:/vcpkg/installed/x64-windows/bin/mpfr.dll .libs/
+ cp c:/vcpkg/installed/x64-windows/bin/mpir.dll .libs/
python setup.py bdist_wheel
- name: Publish on PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: python -m twine upload --repository-url https://test.pypi.org/legacy/ build/src/python/dist/*
- - name: Upload artifacts
- uses: actions/upload-artifact@v1
- with:
- name: dependencies
- path: c:/vcpkg/installed/x64-windows/bin/