2 SETUP
=$(PYTHON
) setup.py
7 @echo
"LinPy – A polyhedral library based on isl"
9 @echo
"Makefile usage:"
10 @echo
" make build build the extension modules"
11 @echo
" make test run the test suite"
12 @echo
" make doc generate the documentation"
13 @echo
" make view_doc open the documentation index"
14 @echo
" make clean remove the generated files"
15 @echo
" make upload upload the module on PyPI"
19 $(SETUP
) build_ext
--inplace
23 $(PYTHON
) -m unittest
-v
31 xdg-open doc
/_build
/html
/index.html
>/dev
/null
2>&1
35 $(RM
) build
dist MANIFEST LinPy.egg-info linpy
/_islhelper.
*.so
36 find .
-name __pycache__ | xargs
$(RM
)
41 $(SETUP
) register sdist upload