meta.yaml 986 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
2
package:
  name: pytorch-sparse
rusty1s's avatar
rusty1s committed
3
  version: 0.6.10
rusty1s's avatar
rusty1s committed
4
5
6
7
8
9
10
11
12

source:
  path: ../..

requirements:
  build:
    - {{ compiler('c') }}  # [win]

  host:
rusty1s's avatar
rusty1s committed
13
    - pip
rusty1s's avatar
rusty1s committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
    - scipy
    - pytorch-scatter
    - python {{ environ.get('PYTHON_VERSION') }}
    - {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
    - {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}

  run:
    - scipy
    - pytorch-scatter
    - python {{ environ.get('PYTHON_VERSION') }}
    - {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
    - {{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}

build:
  string: py{{ environ.get('PYTHON_VERSION').replace('.', '') }}_torch_{{ environ['TORCH_VERSION'] }}_{{ environ['CUDA_VERSION'] }}
rusty1s's avatar
rusty1s committed
29
  script: python setup.py install
rusty1s's avatar
rusty1s committed
30
31
  script_env:
    - FORCE_CUDA
rusty1s's avatar
rusty1s committed
32
    - WITH_METIS=0
rusty1s's avatar
rusty1s committed
33
  # preserve_egg_dir: True
rusty1s's avatar
rusty1s committed
34
35
36
37
38
39
40
41
42

test:
  imports:
    - torch_sparse

about:
  home: https://github.com/rusty1s/pytorch_sparse
  license: MIT
  summary: PyTorch Extension Library of Optimized Autograd Sparse Matrix Operations