-
Notifications
You must be signed in to change notification settings - Fork 20
/
ChangeLog
200 lines (136 loc) · 6.8 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
2011-04-13 Doug Hellmann <[email protected]>
* virtualenvwrapper.sh (rmvirtualenv): Move to a safe directory
before removing the virtual environment, and only move back if the
previously occupied directory still exists.
2011-04-10 Doug Hellmann <[email protected]>
* virtualenvwrapper.sh: Initialize VIRTUALENVWRAPPER_LOG_DIR and
VIRTUALENVWRAPPER_HOOK_DIR.
* virtualenvwrapper/hook_loader.py (main): Use
VIRTUALENVWRAPPER_LOG_DIR for logs instead of assuming
WORKON_HOME.
* virtualenvwrapper/user_scripts.py (make_hook): Change verbosity
of message telling the user we have created a new hook script for
them.
2011-02-26 Doug Hellmann <[email protected]>
* docs/sphinx/conf.py: Just hard-code the version.
* setup.py: Just hard-code the version.
* virtualenvwrapper/version.py: Put the version info inside the
package so it is available to the doc build and packaging
script. This also makes the readthedocs.org build work properly.
* setup.py: Import the version information from the package.
* docs/sphinx/conf.py: Import the version information from the
package.
* Makefile: Remove rule to get the version from the installer for
the doc build.
2011-01-24 Doug Hellmann <[email protected]>
* virtualenvwrapper.sh: Replace hard-coded name "virtualenv" with
the variable VIRTUALENVWRAPPER_VIRTUALENV to allow tests (and
users) to override it.
* tests/test_mkvirtualenv.sh (test_virtualenv_fails): Add a test
to reproduce the conditions reported in issue #76.
2010-12-27 Doug Hellmann <[email protected]>
* virtualenvwrapper.sh (virtualenvwrapper_get_python_version):
Only include the major and minor numbers, not the patch level.
2010-12-26 Doug Hellmann <[email protected]>
* virtualenvwrapper/user_scripts.py (make_hook): Do not specify
text mode when creating the files so cygwin will not replace \n
with \r\n.
* setup.py: Change "requires" to "install_requires" so pip will
try to install virtualenv if it is not already there. Add trove
classifiers for the supported Python versions.
* virtualenvwrapper.sh (virtualenvwrapper_get_python_version): Use
python's -V option and cut to get the version instead of a python
one-liner.
2010-12-24 Doug Hellmann <[email protected]>
* virtualenvwrapper.sh (cpvirtualenv): Ensure that both pre hooks
are run, even if one produces an error.
* virtualenvwrapper/user_scripts.py: Change log message format.
* tox.ini: Configuration file for running tests under tox.
* tests/test_run_hook.sh (test_virtualenvwrapper_run_hook_permissions):
Fix the expected output message.
* tests/*: Make sure all of the test scripts have execute permission.
* tests/test.sh (test_virtualenvwrapper_verify_workon_home_missing_dir_quiet_init):
Use source instead of starting another shell, since zsh doesn't
play nicely with inheriting environment settings otherwise.
(test_python_interpreter_set_incorrectly): Force
VIRTUALENVWRAPPER_PYTHON before running the script in a sub-shell.
* tests/run_tests: Script to run through all of the other test
scripts one at a time.
2010-09-18 Doug Hellmann <[email protected]>
* virtualenvwrapper.sh: Apply patch from Zach Voase to fix
lsvirtualenv under zsh.
2010-09-14 Doug Hellmann <[email protected]>
* virtualenvwrapper.sh (workon): Use the brief list format by
default.
2010-08-16 Doug Hellmann <[email protected]>
* 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 <[email protected]>
* virtualenvwrapper.sh: Escape the call to "which" so we don't use
an alias by accident.
2010-05-22 Doug Hellmann <[email protected]>
* 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 <[email protected]>
* virtualenvwrapper.sh (virtualenvwrapper_tempfile): Use a trap to
ensure the temporary file is removed when we exit.
2010-05-16 Doug Hellmann <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* virtualenvwrapper.sh (virtualenvwrapper_run_hook): Instead of
-m, use -c so hooks can be run under Python 2.4.
2010-04-29 Doug Hellmann <[email protected]>
* 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 <[email protected]>
* virtualenvwrapper.sh (virtualenvwrapper_tempfile): Add a suffix
to the tempfile name so we know the tempfile module isn't going to
erase it.