-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Add gala recipe #1633
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
921c879
Add gala recipe
jni 69ab516
Update gala version
jni d43af43
Include numpy version spec
jni 1f418d3
Another attempt at numpy spec...
jni 1484c4f
Third time's the charm with numpy spec?
jni 5f7c6a5
Ignore gala files dependent on neuroproof
jni 948ac24
Add missing zmq dependency
jni bb53db4
Ignore pytest commands for now
jni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.This would then be repeated in
run
too.