Skip to content

Commit

Permalink
Add conda-forge support
Browse files Browse the repository at this point in the history
  • Loading branch information
WWGolay committed Aug 23, 2023
1 parent 7ef5489 commit b68bee8
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/conda-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: publish_conda

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- name: publish-to-conda
uses: fcakyon/conda-publish-action@v1.3
with:
subdir: 'conda'
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}
43 changes: 43 additions & 0 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set name = "smplotlib" %}
{% set version = "0.0.9" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
git_url: https://github.com/AstroJacobLi/smplotlib.git

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.7
- setuptools >=42.0
- wheel
- pip
run:
- python >=3.7
- numpy
- scipy
- matplotlib>=3.3.4

test:
imports:
- smplotlib
commands:
- pip check
requires:
- pip

about:
home: https://github.com/AstroJacobLi/smplotlib
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- AstroJacobLi

0 comments on commit b68bee8

Please sign in to comment.