From d808ae7c83c5c26674e6104b9bccfa43ff3ff505 Mon Sep 17 00:00:00 2001 From: iovar Date: Wed, 2 May 2007 12:42:28 +0000 Subject: 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 --- qt-recordmydesktop/src/qt-recordMyDesktop.in | 52 ++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 qt-recordmydesktop/src/qt-recordMyDesktop.in (limited to 'qt-recordmydesktop') 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/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() + + + + + + + -- cgit v1.2.3