Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gala recipe #1633

Merged
merged 8 commits into from
Sep 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions recipes/gala/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{% set name = "gala" %}
{% set version = "0.4.1" %}
{% set sha256 = "63a844c6d6c6e6771426472b85a36624cb85e188d08b4c4593a672b4969a65d3" %}

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

source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0
skip: True # [py < 35]
script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
build:
- python
- setuptools
- cython
- numpy x.x
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To further restrict numpy one can tweak this as follows.

    - numpy x.x
    - numpy >=1.7

This would then be repeated in run too.

- numpy >=1.11
run:
- python
- numpy x.x
- numpy >=1.11
- networkx
- h5py
- matplotlib
- scipy
- scikit-image
- scikit-learn
- viridis
- tqdm
- pyzmq

test:
requires:
- pytest
- coverage
- nose
- pytest-cov
imports:
- gala.agglo
- gala.agglo2
- gala.evaluate
- gala.features.histogram
commands:
# looks like --ignore flags don't work with --pyargs. Comment out for now.
# - py.test --doctest-modules --pyargs gala --ignore gala/test_package.py --ignore gala/auto.py --ignore gala/segmentation_stitch.py --ignore gala/stack_np.py --ignore gala/valprob.py

about:
home: https://github.com/janelia-flyem/gala
license_family: BSD
license: BSD 3-clause
# Uncomment line below when license.txt is added to PyPI source dist
# license_file: license.txt
summary: 'Automatic segmentation of electron microscopy volumes'

description: |
Gala is a Python library for performing and evaluating image segmentation,
distributed under the open-source, 3-clause BSD license. It implements the
algorithm described in Nunez-Iglesias et al., PLOS ONE, 2013.
doc_url: https://gala.readthedocs.org
dev_url: https://github.com/janelia-flyem/gala

extra:
recipe-maintainers:
- jni