Build recipe from GitHub tarball
{% set name = "tensorly" %}
{% set version = "0.4.2" %}
-{% set fn = "{}-{}-py3-none-any.whl".format(name, version) %}
-{% set sha256 = "7d39c6ed414993e335fc1c4cbfea62e3f734e9c525bbbab176920ce9dd091d93" %}
+{% set sha256 = "60618b412012eadf6d1fa84f5967aa65531f8bb3569c88cf54b6c150e6534a8e" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
- fn: {{ fn }}
- url: https://pypi.io/packages/py3/{{ name[0] }}/{{ name }}/{{ fn }}
+ url: https://github.com/tensorly/{{ name }}/archive/{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 0
noarch: python
- script: python -m pip install --no-deps --ignore-installed {{ fn }}
+ script: python -m pip install --no-deps --ignore-installed .
requirements:
build:
