diff --git a/conda/das/build_unix.sh b/conda/das-ubuntu/build_unix.sh similarity index 100% rename from conda/das/build_unix.sh rename to conda/das-ubuntu/build_unix.sh diff --git a/conda/das-ubuntu/meta.yaml b/conda/das-ubuntu/meta.yaml new file mode 100755 index 00000000..5d261e97 --- /dev/null +++ b/conda/das-ubuntu/meta.yaml @@ -0,0 +1,43 @@ +{% set data = load_setup_py_data(setup_file='../../setup.py', from_recipe_dir=True) %} +{% set name = "das" %} +{% set version = data.get('version') %} + +package: + name: das + version: "{{ version }}" + +source: + url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" + +build: + number: 0 + entry_points: + - das=das.cli:main + +outputs: + - name: das + script: build_unix.sh + requirements: + host: + - python {{ python }} + - pip + run: + - python {{ python }} + - cudatoolkit + - cudnn + - tqdm + - tensorflow<2.16 + - xarray-behave=0.35.7 + +about: + home: "http://github.com/janclemenslab/das" + license: MIT + license_family: MIT + license_file: + summary: "DAS" + doc_url: "https://janclemenslab.org/das" + dev_url: "http://github.com/janclemenslab/das" + +extra: + recipe-maintainers: + - postpop diff --git a/conda/das/build_osxarm64.sh b/conda/das/build_osxarm64.sh deleted file mode 100755 index 573f53a2..00000000 --- a/conda/das/build_osxarm64.sh +++ /dev/null @@ -1,10 +0,0 @@ -# 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 - -$PYTHON -m pip install keras-tuner==1.1.2 kt-legacy -vv --no-dependencies -$PYTHON -m pip install "tensorflow<2.16" tensorflow-metal==1.1.0 "numpy<1.24" -$PYTHON -m pip install das -vv --no-dependencies - diff --git a/conda/das/build_win.bat b/conda/das/build_win.bat deleted file mode 100755 index 4bfc9311..00000000 --- a/conda/das/build_win.bat +++ /dev/null @@ -1,8 +0,0 @@ -# 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 -@REM "%PYTHON%" -m pip install kt-legacy -vv --no-dependencies -"%PYTHON%" -m pip install das -vv --no-dependencies -if errorlevel 1 exit 1 diff --git a/conda/das/meta.yaml b/conda/das/meta.yaml deleted file mode 100755 index 10664f07..00000000 --- a/conda/das/meta.yaml +++ /dev/null @@ -1,74 +0,0 @@ -{% set data = load_setup_py_data(setup_file='../../setup.py', from_recipe_dir=True) %} -{% set name = "das" %} -{% set version = data.get('version') %} - -package: - name: das - version: "{{ version }}" - -source: - url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" - -build: - number: 0 - entry_points: - - das=das.cli:main - -outputs: - - name: das - script: build_unix.sh - requirements: - host: - - python {{ python }} - - pip - run: - - python {{ python }} - - cudatoolkit - - cudnn - - tqdm - # - h5py - # - numpy - # - numexpr - - tensorflow<2.16 - - xarray-behave=0.35.7 - - # - python {{ python }} - # # - rich - # # - flammkuchen - # # - matplotlib - # # - pandas - # - numpy - # - peakutils - # - pyyaml - # - defopt=6.3 - # - scikit-learn - # - scikit-image - # - xarray-behave>=0.35.7 - # - tqdm - # # - numpy>=1.23 # [unix and not arm64] - # # # - numpy>=1.23 # [linux or osx or arm64] - # # - numpy<1.24 # [osx and arm64] - # # - numpy>=1.23 # [win and py>39] - # # - numpy<1.24 # [win and py39] - # - conda-forge::cudatoolkit # [linux or win] - # - conda-forge::cudnn # [linux or win] - # - conda-forge::tensorflow<2.16 # [linux] - # # - tensorflow>2.3 # [win and py<310] - # # - tensorflow # [win and py==310] - # # - tensorflow==2.10 # [win and py>310] - # # - anaconda::tensorflow==2.9.1 # [osx and not arm64] - # - keras<2.16 [linus - # # - keras-tuner # [not arm64] - -about: - home: "http://github.com/janclemenslab/das" - license: MIT - license_family: MIT - license_file: - summary: "DAS" - doc_url: "https://janclemenslab.org/das" - dev_url: "http://github.com/janclemenslab/das" - -extra: - recipe-maintainers: - - postpop