Skip to content
Permalink
Browse files
Minor updates to debug output
Try to do a better job of deploying .py files on mac


git-svn-id: http://svn.osgeo.org/qgis/trunk@5816 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Sep 12, 2006
1 parent ebebef5 commit cafdaebc6a027585d28e4e581e7c6e930bffe116
Showing with 4 additions and 2 deletions.
  1. +3 −1 tools/mapserver_export/Makefile.am
  2. +1 −1 tools/mapserver_export/qgsmapserverexport.cpp
@@ -88,8 +88,10 @@ endif
#
# Put script into an appropriate dir
#

pythondir = ${pkgdatadir}/python
if HAVE_QTMAC
pythondir=$(MACBINDIR)/share/qgis/python
endif

python_DATA = *.py

@@ -118,7 +118,7 @@ void QgsMapserverExport::on_buttonOk_clicked()
#endif
dataPath = dataPath.trimmed();
QString scriptDir = dataPath + QDir::separator() + "python";
qDebug(scriptDir);
qDebug("Python scripts directory: " + scriptDir.toLocal8Bit());
//QString curdir = "/home/gsherman/development/qgis_qt_port/tools/mapserver_export";
QString sysCmd = QString("sys.path.append('%1')").arg(scriptDir);
PyRun_SimpleString(sysCmd.ascii());

0 comments on commit cafdaeb

Please sign in to comment.