2018-12-11 Fred Gleason <fredg@paravelsystems.com>

* Renamed 'apis/PyPAD/examples/pypad_test.py' to
	'apisPyPAD/tests/pad_test.py'.
	* Added a 'hostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::hostName()' method.
	* Added a 'shortHostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::shortHostName()' method.
	* Added a 'PyPAD.Update::resolveFilepath()' method.
	* Added 'apis/PyPAD/tests/filepath_test.py.
	* Added 'api/PyPAD/examples/pypad_filewrite.py'.
This commit is contained in:
Fred Gleason
2018-12-12 13:20:24 -05:00
parent e6b46cca76
commit 0302445c0b
12 changed files with 184 additions and 154 deletions

View File

@@ -33,7 +33,8 @@ dist_cwrap_SOURCES = cwrap.cpp cwrap.h
dist_jsmin_SOURCES = jsmin.c
EXTRA_DIST = rdpack.sh\
EXTRA_DIST = install_python.sh.in\
rdpack.sh\
rdtrans.sh\
rdtransgui.sh\
setenvvar.sh
@@ -42,7 +43,8 @@ CLEANFILES = *~\
*.tar.gz\
moc_*
DISTCLEANFILES = docbook
DISTCLEANFILES = docbook\
install_python.sh
MAINTAINERCLEANFILES = *~\
*.tar.gz\

View File

@@ -0,0 +1,24 @@
#!/bin/sh
# install_python.sh
#
# (C) Copyright 2018 Fred Gleason <fredg@paravelsystems.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# 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.
#
cat $1 | sed -e s^%PYTHON_BANGPATH%^@PYTHON@^ > $2
chmod 755 $2