1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

Change Makefile to make tests work, removed cleanup shell script, removed

start script. There should be created new starscript suitable for running app
from current directory and installed as an egg.
This commit is contained in:
2009-05-04 16:36:39 +00:00
parent 52b293c459
commit 08c38bf63d
3 changed files with 4 additions and 20 deletions

View File

@@ -1,14 +1,14 @@
RUN = PYTHONPATH=/home/gryf/Devel/Python/pyGTKtalog:/home/gryf/.python_lib python PYTHON_EXEC = PYTHONPATH=/home/gryf/Devel/Python/pyGTKtalog:/home/gryf/.python_lib python
LOCALE = LC_ALL=pl_PL.utf8 LOCALE = LC_ALL=pl_PL.utf8
FILE = pygtktalog.py FILE = pygtktalog.py
.PHONY: run .PHONY: run
run: run:
@$(RUN) $(FILE) @$(PYTHON_EXEC) $(FILE)
.PHONY: runpl .PHONY: runpl
runpl: runpl:
@export $(LOCALE) && $(RUN) $(FILE) @export $(LOCALE) && $(PYTHON_EXEC) $(FILE)
.PHONY: clean .PHONY: clean
clean: clean:
@@ -45,7 +45,7 @@ pltrans: pot
.PHONY: test .PHONY: test
test: test:
cd test && python run_tests.py cd test && $(PYTHON_EXEC) run_tests.py
.PHONY: dist .PHONY: dist
dist: dist:

View File

@@ -1,5 +0,0 @@
#!/bin/sh
# remove ~, pyc, pyo files from current directory
find . -name \*~ -exec rm '{}' ';'
find . -name \*pyc -exec rm '{}' ';'
find . -name \*pyo -exec rm '{}' ';'

View File

@@ -1,11 +0,0 @@
#!/bin/sh
# Simple shell wraper to launch pyGTKtalog
# change path to pygtktalog.py file full path, then you can move this shell
# script to desired place (like /usr/bin, /usr/local/bin, ~/bin and so on)
path_to_gtktalog_directory="."
# python interpreter
python_intrpreter="/usr/bin/python"
exec $python_intrpreter -OO ${path_to_gtktalog_directory}/pygtktalog.py "$@"