Skip to content

Commit

Permalink
Merge pull request #399 from olemke/update-conda-recipe
Browse files Browse the repository at this point in the history
Update conda recipe
  • Loading branch information
olemke authored Dec 16, 2021
2 parents e3086d9 + ffe8453 commit 40d714f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
1 change: 0 additions & 1 deletion conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

rm -rf build
conda-build --output-folder build conda.recipe
conda convert --platform all build/osx-64/typhon-*.bz2 -o build

3 changes: 0 additions & 3 deletions conda/conda.recipe/conda_build_config.yaml

This file was deleted.

15 changes: 6 additions & 9 deletions conda/conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,24 @@ source:
#url: https://github.com/atmtools/typhon/releases/download/{{ version }}/typhon-{{ version }}.tar.gz

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

requirements:
build:
- python {{ python }}
- pip
- setuptools >=0.7.2
host:
- python
- python >=3.7
- pip
- setuptools >=3.4
run:
- python
{% for dep in data['install_requires'] %}
- {{ dep.lower() }}
{% endfor %}

test:
requires:
- pytest
commands:
- pytest --pyargs typhon
imports:
- typhon

about:
home: {{ data['url'] }}
Expand Down

0 comments on commit 40d714f

Please sign in to comment.