File: Makefile

package info (click to toggle)
python-couleur 0.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 108 kB
  • ctags: 125
  • sloc: python: 572; makefile: 26
file content (25 lines) | stat: -rw-r--r-- 613 bytes parent folder | download | duplicates (2)
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
all: install_deps test

filename=couleur-`python -c 'import couleur;print couleur.version'`.tar.gz

export PYTHONPATH:=  ${PWD}
export FORCE_COULEUR:=  true

install_deps:
	@pip install -r requirements.pip

test:
	@nosetests --verbosity=2

clean:
	@printf "Cleaning up files that are already in .gitignore... "
	@for pattern in `cat .gitignore`; do rm -rf $$pattern; find . -name "$$pattern" -exec rm -rf {} \;; done
	@echo "OK!"

release: clean test publish
	@printf "Exporting to $(filename)... "
	@tar czf $(filename) couleur setup.py README.md
	@echo "DONE!"

publish:
	@python setup.py sdist register upload