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:
8
Makefile
8
Makefile
@@ -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
pyGTKtalog
11
pyGTKtalog
@@ -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