File: Makefile

package info (click to toggle)
python-babel 2.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,892 kB
  • sloc: python: 14,521; makefile: 177; javascript: 77; sh: 8
file content (23 lines) | stat: -rw-r--r-- 462 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
test: import-cldr
	python ${PYTHON_TEST_FLAGS} -m pytest ${PYTEST_FLAGS}

clean: clean-cldr clean-pyc

import-cldr:
	python scripts/download_import_cldr.py

clean-cldr:
	rm -f babel/locale-data/*.dat
	rm -f babel/global.dat

clean-pyc:
	find . -name '*.pyc' -exec rm {} \;
	find . -name '__pycache__' -type d | xargs rm -rf

develop:
	pip install --editable .

tox-test:
	tox

.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean standalone-test