summaryrefslogtreecommitdiffstats
path: root/recipe/meta.yaml
blob: fee8e8721ed151ff143589e213e51ed21ae9e475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package:
  name: ccpi-framework
  version: {{ environ['CIL_VERSION'] }}

build:
  preserve_egg_dir: False
  script_env:
    - CIL_VERSION   
  #number: 0  
  
test:
  requires:
    - python-wget
    - cvxpy # [ unix and py36 and np115 ]

  source_files:
    - ./Wrappers/Python/test # [win]
    - ./ccpi/Wrappers/Python/test # [not win] 

  commands:
    - python -c "import os; print ('TESTING IN THIS DIRECTORY' , os.getcwd())"
    - python -m unittest discover Wrappers/Python/test # [win]
    - python -m unittest discover -s ccpi/Wrappers/Python/test # [not win]
    
requirements:
  build:
    - {{ pin_compatible('numpy', max_pin='x.x') }}
    - python
    - setuptools
    - cmake

  run:
    - {{ pin_compatible('numpy', max_pin='x.x') }}
    - python
    - numpy
    - scipy
    - matplotlib
    - h5py
    - pillow
    - libgcc-ng # [not win]
  
about:
  home: http://www.ccpi.ac.uk
  license:  Apache 2.0 License
  summary: 'CCPi Framework'