File: Makefile

package info (click to toggle)
heudiconv 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,492 kB
  • sloc: python: 4,258; sh: 101; makefile: 49
file content (18 lines) | stat: -rw-r--r-- 370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PYTHON ?= python3

all:
	echo 'nothing by default'

prep_release:
	# take previous one, and replace with the next one
	utils/prep_release

release-pypi: prep_release
	# avoid upload of stale builds
	test ! -e dist
	# make sure all is still clean/committed
	! bash -c 'git diff | grep -q .'
	$(PYTHON) setup.py sdist
	$(PYTHON) setup.py bdist_wheel
	twine upload dist/*