diff --git a/conda.recipe/README.md b/conda.recipe/README.md new file mode 100644 index 0000000..4d97742 --- /dev/null +++ b/conda.recipe/README.md @@ -0,0 +1 @@ +This is a recipe for building the current development package into a conda binary. diff --git a/conda.recipe/bld.bat b/conda.recipe/bld.bat new file mode 100644 index 0000000..64f30eb --- /dev/null +++ b/conda.recipe/bld.bat @@ -0,0 +1,2 @@ +@echo off +%PYTHON% setup.py install \ No newline at end of file diff --git a/conda.recipe/build.sh b/conda.recipe/build.sh new file mode 100644 index 0000000..d9ac48d --- /dev/null +++ b/conda.recipe/build.sh @@ -0,0 +1,2 @@ +#!/bin/sh +$PYTHON setup.py install \ No newline at end of file diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml new file mode 100644 index 0000000..77e8248 --- /dev/null +++ b/conda.recipe/meta.yaml @@ -0,0 +1,48 @@ +{% set name = "pyequib" %} +{% set version = "0.3.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyequib-{{ version }}.tar.gz + sha256: e5a1d6412500f690df8c974d8cbe5399ce6d76a9a44f4d04b160b2738f032704 + +build: + number: 0 + noarch: python + script: {{ PYTHON }} -m pip install . -vv + +requirements: + host: + - pip + - python >=3.8 + - numpy >=1.17 + - scipy >=1.2 + - atomneb >=0.2 + run: + - python >=3.8 + - numpy >=1.17 + - scipy >=1.2 + - atomneb >=0.2 + +test: + imports: + - pyequib + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/equib/pyEQUIB + license: GPL-2.0-or-later + license_file: LICENSE + summary: 'pyEQUIB: Python Package for Plasma Diagnostics and Abundance Analysis' + dev_url: https://github.com/equib/pyEQUIB + doc_url: https://pypi.python.org/pypi/pyequib + +extra: + recipe-maintainers: + - danehkar