virtualenvwrapper / ChangeLog

2010-08-16  Doug Hellmann  <dhellmann@racemi.com>

	* virtualenvwrapper/user_scripts.py (get_env_details): New hook to
	optionally give more detail than the name of an environment when
	the user requests a list.

	* virtualenvwrapper.sh: Update workon to use the get_env_details
	hook to print more details, if the user provides scripts to give
	them.

2010-06-03  Doug Hellmann  <dhellmann@racemi.com>

	* virtualenvwrapper.sh: Escape the call to "which" so we don't use
	an alias by accident.

2010-05-22  Doug Hellmann  <dhellmann@racemi.com>

	* tests/test_cp.sh: Clarify some of the tests by breaking up,
	renaming, and rewriting some functions.

	* Makefile (PYTHON26): If we're in a virtualenv when the tests
	start, use a hard-coded path to the binary to get the global
	version.

2010-05-18  Doug Hellmann  <dhellmann@racemi.com>

	* virtualenvwrapper.sh (virtualenvwrapper_tempfile): Use a trap to
	ensure the temporary file is removed when we exit.

2010-05-16  Doug Hellmann  <dhellmann@racemi.com>

	* virtualenvwrapper.sh (virtualenvwrapper_tempfile): Set a default
	suffix of "hook" and explicitly report when we detect an error
	condition.

	* Makefile (PYTHON26): Use which to find python2.6, the default
	interpreter, so we can run the tests as "make test-quick" on other
	hosts.

	* tests/test_tempfile.sh (test_tempfile): Normalize the paths so
	we don't depend on the value of TMPDIR or behavior of dirname.

	* tests/test_cd.sh: Make sure the virtualenv from the caller does
	not influence test behaviors by establishing our own virtualenv
	locally.

	* virtualenvwrapper/hook_loader.py (main): Add more debug logging
	to try to narrow down the tempfile issue (#35).
	(run_hooks): Insert a comment into the output file to show which
	hook we are running.

	* virtualenvwrapper.sh (virtualenvwrapper_run_hook): Add more
	debugging error reporting to try to narrow down the tempfile
	issue (#35).

2010-05-09  Doug Hellmann  <dhellmann@racemi.com>

	* virtualenvwrapper.sh: Tweak path normalization code so double
	slashes are also removed from WORKON_HOME. Use typeset for local
	variables.
	(virtualenvwrapper_tempfile): Add -t option to mktemp so the new
	files are always created in the user's temporary directory.
	(virtualenvwrapper_run_hook): Add the hook name to the temporary
	file name.

	* tests/test_tempfile.sh: Remove obsolete test.  Fix assertions
	for remaining test.

	* tests/test_mkvirtualenv.sh (test_hooks): Use pwd to convert
	WORKON_HOME to the expected value.

	* tests/test.sh (test_python_interpreter_set_incorrectly): Rework
	grep-based assertion to actually pass.

	* Makefile (test-bash test-ksh test-sh): Remove wildcard build
	rule so test-quick target works.

2010-05-02  Doug Hellmann  <dhellmann@racemi.com>

	* virtualenvwrapper.sh (virtualenvwrapper_run_hook): Instead of
	-m, use -c so hooks can be run under Python 2.4.

2010-04-29  Doug Hellmann  <dhellmann@racemi.com>

	* tests/test_workon.sh: Refactor deactivate tests into their own
	script.

	* tests/test_deactivate.sh: Refactor deactivate tests into their
	own script.

	* virtualenvwrapper.sh (virtualenvwrapper_get_python_version): Add
	a comment about why we're using the $PATH python instead of the
	one where the wrappers are installed.
	(add2virtualenv): Use the install-tree python instead of the one
	from $PATH.
	(deactivate): Ignore errors from redundant unset calls.

2010-04-26  Doug Hellmann  <dhellmann@racemi.com>

	* virtualenvwrapper.sh (virtualenvwrapper_tempfile): Add a suffix
	to the tempfile name so we know the tempfile module isn't going to
	erase it.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.