Skip to content

Commit

Permalink
switch to noarch: python
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Jun 7, 2023
1 parent 9be563e commit 59ae3b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'

0 comments on commit 59ae3b0

Please sign in to comment.