Add requirements in setup

This commit is contained in:
D-X-Y 2021-06-11 12:01:58 +08:00
parent 48163c792c
commit f96ecfdeee
4 changed files with 4 additions and 8 deletions

View File

@ -45,7 +45,7 @@ jobs:
- name: Test Search Space
run: |
python -m pip install pytest numpy
python -m pip install pytest
python -m pip install torch torchvision
python -m pip install parameterized
echo $PWD
@ -58,10 +58,6 @@ jobs:
- name: Test Math
run: |
python -m pip install pytest numpy
python -m pip install parameterized
python -m pip install torch torchvision
python --version
python -m pytest ./tests/test_math*.py -s
shell: bash

View File

@ -30,7 +30,7 @@ jobs:
- name: Test Xmisc
run: |
python -m pip install pytest numpy
python -m pip install pytest
python -m pip install torch torchvision
python -m pip install parameterized
echo $PWD

View File

@ -30,7 +30,7 @@ jobs:
- name: Test Super Model
run: |
python -m pip install pytest numpy
python -m pip install pytest
python -m pip install parameterized
python -m pip install torch torchvision
python -m pytest ./tests/test_super_*.py

View File

@ -35,7 +35,7 @@ def read(fname="README.md"):
# What packages are required for this module to be executed?
REQUIRED = ["numpy>=1.16.5,<=1.19.5"]
REQUIRED = ["numpy>=1.16.5,<=1.19.5", "pyyaml>=5.0.0"]
packages = find_packages(
exclude=("tests", "scripts", "scripts-search", "lib*", "exps*")