Fix Symbol.__slots__
[linpy.git] / Makefile
1 PYTHON=python3
2 PIP=pip3
3 VIRTUALENV=pyvenv
4 RM=rm -rf
5
6 .PHONY: default
7 default:
8 @echo "pypol - A polyhedral library based on ISL"
9 @echo
10 @echo "Makefile usage:"
11 @echo " make test run the test suite"
12 @echo " make clean remove the generated files"
13
14 .PHONY: test
15 test:
16 $(PYTHON) -m unittest
17
18 .PHONY: clean
19 clean:
20 $(RM) build dist MANIFEST venv
21 $(RM) pypol.egg-info pypol/islhelper.*.so pypol/__pycache__
22 $(RM) tests/__pycache__
23
24 .PHONY: venv
25 venv:
26 $(RM) venv
27 $(VIRTUALENV) venv
28 . venv/bin/activate; $(PIP) install -e .