From 59ae3b08f882820888c51439698a371d8d49ee7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Paulev=C3=A9?= Date: Wed, 7 Jun 2023 17:26:15 +0200 Subject: [PATCH] switch to noarch: python --- .github/workflows/release.yml | 11 ----------- conda/meta.yaml | 5 +++-- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f74562f..d79fb83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,17 +7,12 @@ on: jobs: pypi-publish: runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.9, '3.10', 3.11] steps: - uses: actions/checkout@v3 - run: sed -i "s:9999:${VERSION//*v/}:" setup.* conda/meta.yaml env: VERSION: ${{ github.ref }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip @@ -31,18 +26,12 @@ jobs: twine upload dist/* conda-publish: runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.9, '3.10', 3.11] steps: - uses: actions/checkout@v3 - run: sed -i "s:9999:${VERSION//*v/}:" setup.* conda/meta.yaml env: VERSION: ${{ github.ref }} - uses: s-weigand/setup-conda@v1 - with: - update-conda: true - python-version: ${{ matrix.python-version }} - name: prepare run: | conda install -y anaconda-client conda-build conda-verify diff --git a/conda/meta.yaml b/conda/meta.yaml index 49dc9f8..3d0f409 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -10,10 +10,11 @@ source: build: script: python -m pip install --no-deps --ignore-installed . + noarch: python requirements: build: - - python {{ python }} + - python - pip - setuptools run: @@ -27,5 +28,5 @@ test: - erode about: - home: https://github.com/pauleve/mpbn + home: https://github.com/colomoto/ERODE-CoLoMoTo summary: 'ERODE with Python interface'