Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 cafdaeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tools/mapserver_export/Makefile.am
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tools/mapserver_export/qgsmapserverexport.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit cafdaeb

Please sign in to comment.