-
Notifications
You must be signed in to change notification settings - Fork 40
How to make a Conda package
Le Huang edited this page Oct 11, 2019
·
1 revision
Enter my source code with setup.py, do not enter the skeleton like tutorial because it does not work.
- meta.yaml
{% set name = "run_dbcan" %}
{% set version = "2.0.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: "https://files.pythonhosted.org/packages/7b/44/035febacc8756fd46ccbfb23ed14fc58153d5a89f95f8db1a756331cdd7a/run_dbcan-2.0.0.tar.gz"
fn: {{ name|lower }}-{{ version }}.tar.gz
MD5: 9d8eb04bb674ade999ca0002cde59e20
sha256: "59bb844912580e91c2dc97d012d0a7a407bfad374280456fa11f521b1d215d2d"
build:
number: 1
scripts: python -m pip install --no-deps --ignore-installed . -v
requirements:
build:
- natsort
- pip
- python >=3
- setuptools
- fraggenescan
- prodigal
- diamond
- hmmer =3.1b2
run:
- python >=3
- natsort
- setuptools
- fraggenescan
- prodigal
- diamond
- hmmer =3.1b2
test:
imports:
- Hotpep
- run_dbcan
commands:
- "run_dbcan.py --help &> /dev/null"
- "Prodigal -h &> /dev/null"
- "FragGeneScan &> /dev/null || [[ \"$?\" == 1 ]]"
about:
home: https://github.com/linnabrown/run_dbcan
license: "GNU General Public v3 (GPLv3)"
license_family: "GPL3"
summary: "Standalone version of dbCAN annotation tool for automated CAZyme annotation"
extra:
recipe-maintainers:
- linnabrown
- conda-build
conda-build run_dbcan -c bioconda -c conda-forge -c local
- conda install instance
conda install --use-local run_dbcan