diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-05-02 12:42:28 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-05-02 12:42:28 +0000 |
commit | d808ae7c83c5c26674e6104b9bccfa43ff3ff505 (patch) | |
tree | 4ae1aaee4f6cbc3c4823355296b74136bf3dd6d5 | |
parent | 849d48985c0f34d45aa5a70918a458627b5d88ed (diff) |
generates src/qt-recordMyDesktop during configuration, to fascilitate installation in arbitary locations
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@327 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r-- | qt-recordmydesktop/src/qt-recordMyDesktop.in | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/qt-recordmydesktop/src/qt-recordMyDesktop.in b/qt-recordmydesktop/src/qt-recordMyDesktop.in new file mode 100644 index 0000000..f1d13c3 --- /dev/null +++ b/qt-recordmydesktop/src/qt-recordMyDesktop.in @@ -0,0 +1,52 @@ +#!/usr/bin/python + + +#/****************************************************************************** +#* qt-recordMyDesktop * +#******************************************************************************* +#* * +#* Copyright (C) 2007 John Varouhakis * +#* * +#* * +#* 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 of the License, 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * +#* * +#* * +#* * +#* For further information contact me at johnvarouhakis@gmail.com * +#******************************************************************************/ + +from PyQt4 import QtGui,QtCore +import sys + +#this is the installation direcotry, +#which is determined during configuration +#default /usr/local/lib/python<version>/site-packages +PYTHONDIR='@PYTHONDIR@' +sys.path.append(PYTHONDIR) +from qt_recordMyDesktop import rmdSimple + +def main(): + app=QtGui.QApplication(sys.argv) + tr=rmdSimple.simpleWidget() + app.exec_() + +main() + + + + + + + |