Add Vinicius as maintainer; test imports of sub modules
@@ -6,8 +6,9 @@ package:
version: {{ version }}
source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
- sha256: 96411837b4445b1b004578433255704bb455678fc535f8187fcc84f2bc0f4d7e
+ # NOTE: the PyPI sdist is broken for 0.1.0, use PyPI for future versions
+ url: https://github.com/facebookresearch/ClassyVision/archive/{{ version }}.tar.gz
+ sha256: e6cbb9a68a3e8ece4365f006dcb0823df85ec8b860270af5cd752f2f7ea6cbe2
build:
number: 0
@@ -21,12 +22,23 @@ requirements:
- pip
run:
- python
- - torch ==1.3.1
- - torchvision ==0.4.2
+ - pytorch >=1.3.1
+ - torchvision >=0.4.2
+ # NOTE: pillow can be removed once the torchvision version is upped
+ - pillow ==6.2.1
test:
imports:
- - {{ name }}
+ - classy_vision
+ - classy_vision.dataset
+ - classy_vision.heads
+ - classy_vision.hooks
+ - classy_vision.losses
+ - classy_vision.meters
+ - classy_vision.models
+ - classy_vision.optim
+ - classy_vision.tasks
+ - classy_vision.trainer
about:
home: https://classyvision.ai
@@ -40,3 +52,4 @@ about:
extra:
recipe-maintainers:
- mannatsingh
+ - vreis
