summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2013-01-03 14:08:24 +0100
committerPaolo Borelli <pborelli@gnome.org>2013-01-05 18:21:26 +0100
commit590b5e1c3f11b4c5d6b15826aec05caeafaf9258 (patch)
tree91ef0a920fca3aea40485a84c5114a005433478d /.gitignore
parent519d9ebe0608c855ea84a1050036c93eda7dacbe (diff)
downloadlibpeas-590b5e1c3f11b4c5d6b15826aec05caeafaf9258.tar.gz
Support py2 and py3 at the same time
This patch reworks the build system so that we use the same sources to build both a python2 loader and a python3 loader. The python 2 one keeps the same name for backward compatibility, while the python 3 one is explicitely called "python3". Supporting py2 and py3 in the same build is tricky since the existing autotools support is limited, so we make some assumptions: - there are separate --enable-python2 and --enable-python3 flags, --enable-python has been removed - the py3 loader is in a separate dir but compliles the files from the py2 loader - for py2 we only check the binary and the python2-config tool, while for py3 we use the proper AM_PATH_PYTHON macro - for py2 we manually detect pyexecdir, hopefully with the same logic used by the AM_PATH_PYTHON macro - we do not check for Python.h header anymore since it is not strictly needed and autoconf caching makes it difficult - for we build the demos only for python3 (unit tests instead are replicated for both) https://bugzilla.gnome.org/show_bug.cgi?id=691081
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 3af562c..837a0fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -76,6 +76,7 @@ Makefile.in
/tests/libpeas/extension-c
/tests/libpeas/extension-gjs
/tests/libpeas/extension-python
+/tests/libpeas/extension-python3
/tests/libpeas/extension-seed
/tests/libpeas/extension-set
/tests/libpeas/plugin-info
@@ -85,6 +86,12 @@ Makefile.in
/tests/libpeas/plugins/extension-js/extension-seed.gschema.xml
/tests/libpeas/plugins/extension-js/extension-seed.js
/tests/libpeas/plugins/extension-js/extension-seed.plugin
+/tests/libpeas/plugins/extension-python/extension-python.gschema.xml
+/tests/libpeas/plugins/extension-python/extension-python.plugin
+/tests/libpeas/plugins/extension-python/extension-python.py
+/tests/libpeas/plugins/extension-python/extension-python3.gschema.xml
+/tests/libpeas/plugins/extension-python/extension-python3.plugin
+/tests/libpeas/plugins/extension-python/extension-python3.py
/tests/libpeas-gtk/plugin-manager
/tests/libpeas-gtk/plugin-manager-store
/tests/libpeas-gtk/plugin-manager-view