-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1633 from jni/gala
Add gala recipe
- Loading branch information
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
- 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 |