aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2022-05-13 11:08:38 +0900
committer坂本 貴史 <o-takashi@sakamocchi.jp>2022-05-20 23:00:30 +0900
commit4fedc05b4c185513c2475a6c8f268c09fa6304a6 (patch)
treeb5ee337474e5831f3a947bf4df9a5efa688ed277
parentd4fbe87a4e66847a9232027e4d114927924e99c0 (diff)
downloadlibhinawa-4fedc05b4c185513c2475a6c8f268c09fa6304a6.tar.gz
remove launcher for sample scripts
The run.sh script was originally added to load build library and GIR for Python 3 process by configure environment variables. In methon build system, the directory to build is adjustable by hand, therefore it's impossible to indicate the directory in advance to load build library and GIR. Nowadays, the script is out-of-date. Let me remove it. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r--README.rst4
-rwxr-xr-xsamples/run.sh13
2 files changed, 1 insertions, 16 deletions
diff --git a/README.rst b/README.rst
index e19d8c1..5292ff1 100644
--- a/README.rst
+++ b/README.rst
@@ -117,9 +117,7 @@ You can see documentation files under ``(directory-to-install)/share/doc/hinawa/
Sample scripts
==============
-::
-
- $ ./samples/run.sh [gtk|qt5]
+Some sample scripts are available under ``samples`` directory:
- gtk - PyGObject is required.
- qt5 - PyQt5 is required.
diff --git a/samples/run.sh b/samples/run.sh
deleted file mode 100755
index fdaaf94..0000000
--- a/samples/run.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-# NOTE:
-# Current working directory should be in root of this repository.
-
-# LD_LIBRARY_PATH and GI_TYPELIB_PATH environments variables should be se
-# in advance.
-
-if [[ $1 == 'qt5' ]] ; then
- ./samples/qt5.py
-elif [[ $1 == 'gtk' ]] ; then
- ./samples/gtk3.py
-fi