mirror of
https://github.com/gryf/pygtktalog.git
synced 2026-10-06 13:40:42 +02: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:
1 parent
52b293c459
commit
08c38bf63d
3 files changed
+4
-20
No files matched your search
@@ -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
|
||||
FILE = pygtktalog.py
|
||||
|
||||
.PHONY: run
|
||||
run:
|
||||
@$(RUN) $(FILE)
|
||||
@$(PYTHON_EXEC) $(FILE)
|
||||
|
||||
.PHONY: runpl
|
||||
runpl:
|
||||
@export $(LOCALE) && $(RUN) $(FILE)
|
||||
@export $(LOCALE) && $(PYTHON_EXEC) $(FILE)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@@ -45,7 +45,7 @@ pltrans: pot
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
cd test && python run_tests.py
|
||||
cd test && $(PYTHON_EXEC) run_tests.py
|
||||
|
||||
.PHONY: dist
|
||||
dist:
|
||||
|
||||
@@ -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 '{}' ';'
|
||||
-11
@@ -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 "$@"
|
||||
Reference in new issue
Block a user