File: Makefile

package info (click to toggle)
python-scikit-cuda 0.5.3-1
  • links: PTS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 1,516 kB
  • sloc: python: 18,940; ansic: 459; makefile: 95; sh: 9
file content (28 lines) | stat: -rw-r--r-- 473 bytes parent folder | download
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