summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorpab <devnull@localhost>2009-05-20 00:23:19 +0000
committerpab <devnull@localhost>2009-05-20 00:23:19 +0000
commit54b07608d75e950404e11917f55b89cbd0e23bea (patch)
treebf357cdf8f15da463b5965bc0bc84fb33b577d6a /examples
parent2951913ea5a395589b6f743f2a7388d823ae34e0 (diff)
Rename scripts to avoid clobbering user namespace
Diffstat (limited to 'examples')
-rw-r--r--examples/dictionary/genbindings.sh2
-rw-r--r--examples/kml/genbindings.sh8
-rw-r--r--examples/ndfd/genbindings.sh4
-rw-r--r--examples/tmsxtvd/genbindings.sh2
-rw-r--r--examples/weather/genbindings.sh2
5 files changed, 9 insertions, 9 deletions
diff --git a/examples/dictionary/genbindings.sh b/examples/dictionary/genbindings.sh
index a8dacbd..a1f978c 100644
--- a/examples/dictionary/genbindings.sh
+++ b/examples/dictionary/genbindings.sh
@@ -9,7 +9,7 @@ fi
mkdir -p raw
touch raw/__init__.py
-../../scripts/genbind \
+../../scripts/pyxbgen \
-m '' \
-p "${PREFIX}" \
-u "${WSDL}" \
diff --git a/examples/kml/genbindings.sh b/examples/kml/genbindings.sh
index 7a155bd..ee4f3d4 100644
--- a/examples/kml/genbindings.sh
+++ b/examples/kml/genbindings.sh
@@ -8,11 +8,11 @@ mkdir -p raw
touch raw/__init__.py
# Hack until we get relative URI handling into the import routine
-../../scripts/genbind \
+../../scripts/pyxbgen \
-u 'http://schemas.opengis.net/kml/2.2.0/atom-author-link.xsd' \
-p atom \
-r -C
-../../scripts/genbind \
+../../scripts/pyxbgen \
-u 'http://docs.oasis-open.org/election/external/xAL.xsd' \
-p xAL \
-r -C
@@ -23,14 +23,14 @@ export PYXB_NAMESPACE_PATH
# NB: If you add -C to this, Python will blow up from the bug about
# pickling heavily recursive structures. Fortunately, we don't need
# the content model.
-../../scripts/genbind \
+../../scripts/pyxbgen \
-u "${URI}" \
-p "${PREFIX}" \
-r
# Except that we do need the content model for Google's extensions.
# So this one has to be disabled.
-#../../scripts/genbind \
+#../../scripts/pyxbgen \
# -u 'http://code.google.com/apis/kml/schema/kml22gx' \
# -p gx \
# -r
diff --git a/examples/ndfd/genbindings.sh b/examples/ndfd/genbindings.sh
index b1fca82..8bef879 100644
--- a/examples/ndfd/genbindings.sh
+++ b/examples/ndfd/genbindings.sh
@@ -5,7 +5,7 @@ PREFIX='DWML'
mkdir -p raw
touch raw/__init__.py
-../../scripts/genbind \
+../../scripts/pyxbgen \
-u "${URI}" \
-p "${PREFIX}" \
-r
@@ -18,7 +18,7 @@ WSDL_URI='http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl'
if [ ! -f ndfdXML.wsdl ] ; then
wget ${WSDL_URI}
fi
-../../scripts/genbind \
+../../scripts/pyxbgen \
-u "${WSDL_URI}" \
-p ndfd \
-r -W
diff --git a/examples/tmsxtvd/genbindings.sh b/examples/tmsxtvd/genbindings.sh
index 3e24d9f..c577ddb 100644
--- a/examples/tmsxtvd/genbindings.sh
+++ b/examples/tmsxtvd/genbindings.sh
@@ -5,7 +5,7 @@ PREFIX='tmstvd'
mkdir -p raw
touch raw/__init__.py
-../../scripts/genbind \
+../../scripts/pyxbgen \
-m '' \
-p "${PREFIX}" \
-u "${URI}" \
diff --git a/examples/weather/genbindings.sh b/examples/weather/genbindings.sh
index 1ffd56b..8eea36a 100644
--- a/examples/weather/genbindings.sh
+++ b/examples/weather/genbindings.sh
@@ -9,7 +9,7 @@ fi
mkdir -p raw
touch raw/__init__.py
-../../scripts/genbind \
+../../scripts/pyxbgen \
-m '' \
-p "${PREFIX}" \
-u "${WSDL}" \