meta.yaml 901 Bytes
Newer Older
1
package:
2
  name: torchaudio
3
  version: "{{ environ.get('BUILD_VERSION') }}"
4
5

source:
6
  path: "{{ environ.get('SOURCE_ROOT_DIR') }}"
7
8
9
10
11
12
13
14
15

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

  host:
    - python
    - setuptools
16
17
    - cpuonly
    {{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT') }}
18
19
20

  run:
    - python
21
    - typing # [py2k]
22
    {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
23
24

build:
25
  string: py{{py}}
26
27
28
29
30
31
32
33
34
35
36
37
38
39

test:
  imports:
    - torchaudio
    - torchaudio.datasets
    - torchaudio.kaldi_io
    - torchaudio.sox_effects
    - torchaudio.transforms

  source_files:
    - test

  requires:
    - pytest
40
41
    # Ideally we would test this, but conda doesn't provide librosa
    # - librosa >=0.4.3
42
    - scipy
43
    - cpuonly
44
45
46
47
48
49

about:
  home: https://github.com/pytorch/audio
  license: BSD
  license_file: LICENSE
  summary: 'simple audio I/O for pytorch'