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

BLD: Update conda recipe to build from source #31

Draft
wants to merge 1 commit into
base: 4.0.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion conda/bld.bat

This file was deleted.

1 change: 0 additions & 1 deletion conda/build.sh

This file was deleted.

28 changes: 20 additions & 8 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,37 @@
{% set version = "4.0.0" %}

package:
name: cohere_core
version: "4.0.0"
name: "cohere_core"
version: {{ version }}

source:
path: .
url: https://github.com/AdvancedPhotonSource/cohere/archive/refs/tags/{{ version }}.tar.gz
sha256: 4c589d82fe541dee4f5109028c7d26166d060802a7cd94a8a4222ae2982ba608

build:
noarch: python
number: 0
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation

requirements:
host:
- python=3.11
- numpy

- python >=3.6
- setuptools >=61.0
run:
- python=3.11
- python
- numpy
- tensorflow
- scikit-learn
- tensorflow
- tifffile

test:
requires:
- pip
commands:
- pip check
imports:
- cohere_core

about:
home: https://github.com/advancedPhotonSource/cohere
license: BSD
Expand Down