From bf344a0096ffde28e8be191bfbf4ce9b4ce046ae Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 3 Mar 2021 09:06:06 -0600 Subject: [PATCH 1/5] check delocate --- config.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.sh b/config.sh index d086717..f71158f 100644 --- a/config.sh +++ b/config.sh @@ -19,6 +19,11 @@ function build_wheel { wrap_wheel_builder _build_wheel $@ } +function install_delocate { + check_pip + $PIP_CMD install git+https://github.com/isuruf/delocate.git@loader_path +} + function build_libs { # setuptools v49.2.0 is broken $PYTHON_EXE -mpip install --upgrade "setuptools<49.2.0" From 348e32b1003179fe471e9f1336e3b9f3ac6a038f Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 3 Mar 2021 11:55:51 -0600 Subject: [PATCH 2/5] upload artifacts to azure --- azure/posix.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure/posix.yml b/azure/posix.yml index a213662..b211d34 100644 --- a/azure/posix.yml +++ b/azure/posix.yml @@ -123,3 +123,6 @@ jobs: echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple" displayName: Upload to anaconda.org (only if secret token is retrieved) condition: ne(variables['TOKEN'], '') + + - publish: wheelhouse/ + artifact: wheels_${{ parameters.name }} From f5620525d22670e916f8968ae514d2cf0ecd763b Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 3 Mar 2021 13:44:43 -0600 Subject: [PATCH 3/5] fix artifact name --- azure/posix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/posix.yml b/azure/posix.yml index b211d34..b09d1f2 100644 --- a/azure/posix.yml +++ b/azure/posix.yml @@ -125,4 +125,4 @@ jobs: condition: ne(variables['TOKEN'], '') - publish: wheelhouse/ - artifact: wheels_${{ parameters.name }} + artifact: wheels_${{ parameters.name }}_${{ insert }} From 6ebd7fb5d4c948acd57c6fcbd5c4640fd84afe68 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 3 Mar 2021 14:00:02 -0600 Subject: [PATCH 4/5] fix artifact name --- azure/posix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/posix.yml b/azure/posix.yml index b09d1f2..0efc967 100644 --- a/azure/posix.yml +++ b/azure/posix.yml @@ -125,4 +125,4 @@ jobs: condition: ne(variables['TOKEN'], '') - publish: wheelhouse/ - artifact: wheels_${{ parameters.name }}_${{ insert }} + artifact: ${{ Agent.JobName }} From d989aa07f62d5da7ed09b2c2e90f748086f59e1a Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 3 Mar 2021 14:06:52 -0600 Subject: [PATCH 5/5] remove publishing artifacts --- azure/posix.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/azure/posix.yml b/azure/posix.yml index 0efc967..a213662 100644 --- a/azure/posix.yml +++ b/azure/posix.yml @@ -123,6 +123,3 @@ jobs: echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple" displayName: Upload to anaconda.org (only if secret token is retrieved) condition: ne(variables['TOKEN'], '') - - - publish: wheelhouse/ - artifact: ${{ Agent.JobName }}