summaryrefslogtreecommitdiff
path: root/libkmod/python/kmod/version.py.in
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2014-03-24 08:27:19 -0300
committerLucas De Marchi <lucas.demarchi@intel.com>2014-03-24 08:30:24 -0300
commitfac4d091b1bc2f941ce83df865752d3d0ec990e3 (patch)
tree6e8647bf71b1e8986c210f2b250c78da948253e4 /libkmod/python/kmod/version.py.in
parent749263253286b175db765953999c513966b40094 (diff)
downloadkmod-python.tar.gz
build-sys: add hooks to build python bindingspython
Add --enable-python configure switch so we build the python bindings. We also pass version.py through SED_PROCESS macro, so the version is kept in sync with kmod.
Diffstat (limited to 'libkmod/python/kmod/version.py.in')
-rw-r--r--libkmod/python/kmod/version.py.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/libkmod/python/kmod/version.py.in b/libkmod/python/kmod/version.py.in
new file mode 100644
index 0000000..4daa94d
--- /dev/null
+++ b/libkmod/python/kmod/version.py.in
@@ -0,0 +1,17 @@
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
+#
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
+
+__version__ = '@VERSION@'