Browse Source

Export PYTHONPATH so it's available for the emulator

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
feature_files_export
Nico Schottelius 11 years ago
parent
commit
6e107fa92c
  1. 6
      bin/cdist
  2. 1
      docs/changelog

6
bin/cdist

@ -26,4 +26,8 @@ dir=${0%/*}
# Ensure version is present - the bundled/shipped version contains a static version,
# the git version contains a dynamic version
"$dir/../build" version
PYTHONPATH="${dir}/../" "$dir/../scripts/cdist" "$@"
libdir=$(cd "${dir}/../" && pwd -P)
export PYTHONPATH="${libdir}"
"$dir/../scripts/cdist" "$@"

1
docs/changelog

@ -6,6 +6,7 @@ Changelog
2.1.0pre6:
* New Example: Turn remote calls into local calls (used for unittesting)
* Core: Export PYTHONPATH, it's also needed by emulator
2.1.0pre5: 2012-11-01
* Core: First round of tests updated to work with multiple configuration directories

Loading…
Cancel
Save