Don't use SP_DIR
@@ -31,9 +31,11 @@ requirements:
- flask-babel
test:
+ requires:
+ - python >=3.4
commands:
# Can't import sagenb as it depends on sage and sage depends on sagenb
- - test -f $SP_DIR/sagenb/__init__.py
+ - python -c "import importlib;importlib.util.find_spec('sagenb').name"
about:
home: https://github.com/sagemath/sagenb
