Skip to content

Commit

Permalink
Update conda recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
olemke committed Jul 5, 2024
1 parent 3b7a992 commit bf7d213
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion conda/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

rm -rf build
conda-build --output-folder build conda.recipe
conda build --no-anaconda-upload --output-folder build conda.recipe

15 changes: 10 additions & 5 deletions conda/conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
{% set data = load_setup_py_data(setup_file='../../setup.py', from_recipe_dir=True) %}
{% set name = "typhon" %}
{% set version = data['version'] %}
#{% set version = data['version'] %}
#{% set version = data['version'] %}
{% set version = "0.10.0" %}
{% set dev_url = "https://github.com/atmtools/typhon" %}

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

source:
#url: "https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
url: "https://test.pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
#url: https://github.com/atmtools/typhon/releases/download/{{ version }}/typhon-{{ version }}.tar.gz
url: "https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
# url: "https://test.pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
# url: https://github.com/atmtools/typhon/releases/download/{{ version }}/typhon-{{ version }}.tar.gz
# git_url: {{ dev_url }}.git
# git_depth: 1

build:
noarch: python
Expand All @@ -18,7 +23,7 @@ build:

requirements:
host:
- python >=3.8
- python >=3.10
- pip
- setuptools >=3.4
run:
Expand Down

0 comments on commit bf7d213

Please sign in to comment.