https://github.com/GPflow/GPflow
Revision aaf93399df1f2511a2e84266ed0e45d54918bef0 authored by marcoadurno on 21 March 2020, 10:59:27 UTC, committed by GitHub on 21 March 2020, 10:59:27 UTC
Fixes #1348 by * only adding gast as a requirement if tensorflow is not already installed; * we check what's the latest available version of tensorflow on pypi and select a version of gast accordingly (gast<0.3 for tf<2.2 and gast>=0.3 for tf>=2.2)
1 parent 67dc76d
Tip revision: aaf93399df1f2511a2e84266ed0e45d54918bef0 authored by marcoadurno on 21 March 2020, 10:59:27 UTC
fix gast dependency (#1350)
fix gast dependency (#1350)
Tip revision: aaf9339
Makefile
.PHONY: help clean dev-install install package format test
help:
@echo "The following make targets are available:"
@echo " dev-install install all dependencies for dev environment and sets a egg link to the project sources"
@echo " install install all dependencies and the project in the current environment"
@echo " package build pip package"
@echo " test run all tests in parallel"
@echo " clean removes package, build files and egg info"
clean:
rm -rf dist *.egg-info build
dev-install:
pip install -e .
install:
pip install .
package:
python setup.py bdist
format:
black -t py36 --line-length=100 gpflow tests
test:
pytest -v --durations=10 tests/
Computing file changes ...