From 10375d1dc8c3943d7520129e14be05873e920f7d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 7 Feb 2013 10:54:47 +0800 Subject: rename version.py to config.py --- setup/Makefile.am | 4 ++-- setup/config.py.in | 21 +++++++++++++++++++++ setup/version.py.in | 21 --------------------- 3 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 setup/config.py.in delete mode 100644 setup/version.py.in (limited to 'setup') diff --git a/setup/Makefile.am b/setup/Makefile.am index ff677ee..7845342 100644 --- a/setup/Makefile.am +++ b/setup/Makefile.am @@ -20,7 +20,7 @@ setup_libpinyin_PYTHON = \ main2.py \ - version.py \ + config.py \ dicttreeview.py \ ibus-libpinyin-preferences.ui \ $(NULL) @@ -36,7 +36,7 @@ CLEANFILES = \ $(NULL) EXTRA_DIST = \ - version.py.in \ + config.py.in \ ibus-setup-libpinyin.in \ $(NULL) diff --git a/setup/config.py.in b/setup/config.py.in new file mode 100644 index 0000000..8be42db --- /dev/null +++ b/setup/config.py.in @@ -0,0 +1,21 @@ +# vim:set et ts=4 sts=4: +# +# ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus +# +# Copyright (c) 2008-2010 Peng Huang +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +def get_version(): + return "@VERSION@" diff --git a/setup/version.py.in b/setup/version.py.in deleted file mode 100644 index 8be42db..0000000 --- a/setup/version.py.in +++ /dev/null @@ -1,21 +0,0 @@ -# vim:set et ts=4 sts=4: -# -# ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus -# -# Copyright (c) 2008-2010 Peng Huang -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -def get_version(): - return "@VERSION@" -- cgit