[gimp] plug-ins: install python-console plug-in in its own subdirectory.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: install python-console plug-in in its own subdirectory.
- Date: Thu, 25 May 2017 22:20:21 +0000 (UTC)
commit e985110250947cadd361ec69b8d53cb18423363c
Author: Jehan <jehan girinstud io>
Date: Fri May 26 00:15:26 2017 +0200
plug-ins: install python-console plug-in in its own subdirectory.
As a consequence of commit efae55a, plug-ins should not install
data/library files alongside on the root plug-ins/ directory. If they
have such files, they should create a subdirectory named as the entry
point file. Obviously we should be the first to follow this guideline.
We had one such plug-in: python-console.py, which is importing
pyconsole.py. Let's have both these files under
plug-ins/python-console/.
plug-ins/pygimp/plug-ins/Makefile.am | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/pygimp/plug-ins/Makefile.am b/plug-ins/pygimp/plug-ins/Makefile.am
index 2d20a7b..50a7aef 100644
--- a/plug-ins/pygimp/plug-ins/Makefile.am
+++ b/plug-ins/pygimp/plug-ins/Makefile.am
@@ -12,7 +12,6 @@ scripts = \
palette-sort.py \
palette-to-gradient.py \
py-slice.py \
- python-console.py \
python-eval.py
test_scripts = \
@@ -24,6 +23,10 @@ test_scripts = \
pluginexec_SCRIPTS = $(scripts)
-pluginexec_DATA = pyconsole.py
+# python-console has a data file.
+# Therefore let's move it to its own sub-directory.
+pythonconsoledir = $(gimpplugindir)/plug-ins/python-console
+pythonconsole_SCRIPTS = python-console.py
+dist_pythonconsole_DATA = pyconsole.py
-EXTRA_DIST = $(pluginexec_DATA) $(scripts) $(test_scripts)
+EXTRA_DIST = $(scripts) $(test_scripts)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]