summaryrefslogtreecommitdiffstats
path: root/setup
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2010-05-20 13:00:21 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2010-05-20 13:00:21 +0800
commit01b5e9f5177b1f2c98ddbc80c4d120a775ea2f8d (patch)
tree30f231299211a75e4e4fd60ddc5953dde5a744c4 /setup
parent7bde3870c152ed24d81a53fbcb658ec223e35f52 (diff)
downloadibus-libpinyin-01b5e9f5177b1f2c98ddbc80c4d120a775ea2f8d.tar.gz
ibus-libpinyin-01b5e9f5177b1f2c98ddbc80c4d120a775ea2f8d.tar.xz
ibus-libpinyin-01b5e9f5177b1f2c98ddbc80c4d120a775ea2f8d.zip
Add copyright header in some python file
Diffstat (limited to 'setup')
-rw-r--r--setup/main.py19
-rw-r--r--setup/version.py.in19
2 files changed, 38 insertions, 0 deletions
diff --git a/setup/main.py b/setup/main.py
index 5603034..5ff2d35 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -1,3 +1,22 @@
+# vim:set et ts=4 sts=4:
+#
+# ibus-pinyin - The Chinese PinYin engine for IBus
+#
+# Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
import gtk
import ibus
import locale
diff --git a/setup/version.py.in b/setup/version.py.in
index aca660c..ad68d54 100644
--- a/setup/version.py.in
+++ b/setup/version.py.in
@@ -1,2 +1,21 @@
+# vim:set et ts=4 sts=4:
+#
+# ibus-pinyin - The Chinese PinYin engine for IBus
+#
+# Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
def get_version():
return "@VERSION@"