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

added xarray-behave #28381

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions recipes/xarray-behave/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# We need to turn pip index back on because Anaconda turns
# it off for some reason.
set PIP_NO_INDEX=False
set PIP_NO_DEPENDENCIES=False
set PIP_IGNORE_INSTALLED=False

"%PYTHON%" -m pip install simpleaudio -vv --no-dependencies
"%PYTHON%" -m pip install pkgutil_resolve_name -vv --no-dependencies
"%PYTHON%" -m pip install xarray-behave[gui] -vv --no-dependencies
if errorlevel 1 exit 1
11 changes: 11 additions & 0 deletions recipes/xarray-behave/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# We need to turn pip index back on because Anaconda turns
# it off for some reason.
export PIP_NO_INDEX=False
export PIP_NO_DEPENDENCIES=False
export PIP_IGNORE_INSTALLED=False

if [ "$(uname)" == "Darwin" ]; then
pip install simpleaudio -vv --no-dependencies
fi
pip install pkgutil_resolve_name -vv --no-dependencies
pip install xarray-behave[gui] -vv --no-dependencies
68 changes: 68 additions & 0 deletions recipes/xarray-behave/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
package:
name: xarray-behave
version: 0.35.7

source:
url: https://pypi.org/packages/source/x/xarray-behave/xarray-behave-0.35.7.tar.gz
sha256: ee82dbe8f3e90e15535a112a06d993776949d3ee4d4f7aec9b51dcf4c83e62f4

build:
number: 0
skip: true # [osx and not arm64]

requirements:
host:
- python =3.11 # [unix]
- python =3.10 # [win]
- pip
- setuptools
run:
- python =3.11 # [unix]
- python =3.10 # [win]
- defopt =6.3
- rich
- flammkuchen
- h5py
- pyyaml
- zarr
- numba
- xarray
- dask
- librosa >0.8
- pysoundfile
- python-sounddevice
- matplotlib-base
- colorcet
- pandas
- scipy >=1.9
- scikit-image
- scikit-learn
- peakutils
- pyside6
- pyqtgraph >0.12
- qtpy
- superqt
- ffmpeg
- pyvideoreader

test:
imports:
- xarray_behave
- xarray_behave.event_utils
- xarray_behave.metrics
- xarray_behave.loaders
- xarray_behave.annot
- xarray_behave.gui
- xarray_behave.io

about:
home: "http://github.com/janclemenslab/xarray-behave"
license: Apache-2.0
license_file: LICENSE
summary: "xarray behave"
doc_url: "http://github.com/janclemenslab/xarray-behave"
dev_url: "http://github.com/janclemenslab/xarray-behave"

extra:
recipe-maintainers:
- postpop