|
Revision 166, 451 bytes
(checked in by xi, 4 years ago)
|
Final touches before the release.
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
.PHONY: default build force install test dist clean |
|---|
| 3 |
|
|---|
| 4 |
PYTHON=/usr/bin/python |
|---|
| 5 |
TEST= |
|---|
| 6 |
PARAMETERS= |
|---|
| 7 |
|
|---|
| 8 |
build: |
|---|
| 9 |
${PYTHON} setup.py build ${PARAMETERS} |
|---|
| 10 |
|
|---|
| 11 |
force: |
|---|
| 12 |
${PYTHON} setup.py build -f ${PARAMETERS} |
|---|
| 13 |
|
|---|
| 14 |
install: build |
|---|
| 15 |
${PYTHON} setup.py install ${PARAMETERS} |
|---|
| 16 |
|
|---|
| 17 |
test: build |
|---|
| 18 |
${PYTHON} tests/test_build.py ${TEST} |
|---|
| 19 |
|
|---|
| 20 |
dist: build |
|---|
| 21 |
${PYTHON} setup.py sdist --formats=zip,gztar |
|---|
| 22 |
|
|---|
| 23 |
windist: build |
|---|
| 24 |
${PYTHON} setup.py bdist_wininst |
|---|
| 25 |
|
|---|
| 26 |
clean: |
|---|
| 27 |
${PYTHON} setup.py clean -a |
|---|
| 28 |
|
|---|