1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
PYTHON := `which python`
DESTDIR = /
NAME = scikit-cuda
VERSION = $(shell $(PYTHON) -c 'import setup; print setup.VERSION')
.PHONY: package build docs install test clean
package:
$(PYTHON) setup.py sdist --formats=gztar bdist_wheel
upload: | package
twine upload dist/*
build:
$(PYTHON) setup.py build
docs:
$(PYTHON) setup.py build_sphinx
install:
$(PYTHON) setup.py install --root=$(DESTDIR)
test:
$(PYTHON) setup.py test
clean:
$(PYTHON) setup.py clean
|