|
1 Changes & News |
|
2 -------------- |
|
3 |
|
4 .. warning:: |
|
5 |
|
6 Python bugfix releases 2.6.8, 2.7.3, 3.1.5 and 3.2.3 include a change that |
|
7 will cause "import random" to fail with "cannot import name urandom" on any |
|
8 virtualenv created on a Unix host with an earlier release of Python |
|
9 2.6/2.7/3.1/3.2, if the underlying system Python is upgraded. This is due to |
|
10 the fact that a virtualenv uses the system Python's standard library but |
|
11 contains its own copy of the Python interpreter, so an upgrade to the system |
|
12 Python results in a mismatch between the version of the Python interpreter |
|
13 and the version of the standard library. It can be fixed by removing |
|
14 ``$ENV/bin/python`` and re-running virtualenv on the same target directory |
|
15 with the upgraded Python. |
|
16 |
|
17 |
|
18 1.11.4 (2014-02-21) |
|
19 ~~~~~~~~~~~~~~~~~~~ |
|
20 |
|
21 * Updated pip to 1.5.4 |
|
22 |
|
23 |
|
24 1.11.3 (2014-02-20) |
|
25 ~~~~~~~~~~~~~~~~~~~ |
|
26 |
|
27 * Updated setuptools to 2.2 |
|
28 * Updated pip to 1.5.3 |
|
29 |
|
30 |
|
31 1.11.2 (2014-01-26) |
|
32 ~~~~~~~~~~~~~~~~~~~ |
|
33 |
|
34 * Fixed easy_install installed virtualenvs by updated pip to 1.5.2 |
|
35 |
|
36 1.11.1 (2014-01-20) |
|
37 ~~~~~~~~~~~~~~~~~~~ |
|
38 |
|
39 * Fixed an issue where pip and setuptools were not getting installed when using |
|
40 the ``--system-site-packages`` flag. |
|
41 * Updated setuptools to fix an issue when installed with easy_install |
|
42 * Fixed an issue with Python 3.4 and sys.stdout encoding being set to ascii |
|
43 * Upgraded pip to v1.5.1 |
|
44 * Upgraded setuptools to v2.1 |
|
45 |
|
46 1.11 (2014-01-02) |
|
47 ~~~~~~~~~~~~~~~~~ |
|
48 |
|
49 * **BACKWARDS INCOMPATIBLE** Switched to using wheels for the bundled copies of |
|
50 setuptools and pip. Using sdists is no longer supported - users supplying |
|
51 their own versions of pip/setuptools will need to provide wheels. |
|
52 * **BACKWARDS INCOMPATIBLE** Modified the handling of ``--extra-search-dirs``. |
|
53 This option now works like pip's ``--find-links`` option, in that it adds |
|
54 extra directories to search for compatible wheels for pip and setuptools. |
|
55 The actual wheel selected is chosen based on version and compatibility, using |
|
56 the same algorithm as ``pip install setuptools``. |
|
57 * Fixed #495, --always-copy was failing (#PR 511) |
|
58 * Upgraded pip to v1.5 |
|
59 * Upgraded setuptools to v1.4 |
|
60 |
|
61 1.10.1 (2013-08-07) |
|
62 ~~~~~~~~~~~~~~~~~~~ |
|
63 |
|
64 * **New Signing Key** Release 1.10.1 is using a different key than normal with |
|
65 fingerprint: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA |
|
66 * Upgraded pip to v1.4.1 |
|
67 * Upgraded setuptools to v0.9.8 |
|
68 |
|
69 |
|
70 1.10 (2013-07-23) |
|
71 ~~~~~~~~~~~~~~~~~ |
|
72 |
|
73 * **BACKWARDS INCOMPATIBLE** Dropped support for Python 2.5. The minimum |
|
74 supported Python version is now Python 2.6. |
|
75 |
|
76 * **BACKWARDS INCOMPATIBLE** Using ``virtualenv.py`` as an isolated script |
|
77 (i.e. without an associated ``virtualenv_support`` directory) is no longer |
|
78 supported for security reasons and will fail with an error. |
|
79 |
|
80 Along with this, ``--never-download`` is now always pinned to ``True``, and |
|
81 is only being maintained in the short term for backward compatibility |
|
82 (Pull #412). |
|
83 |
|
84 * **IMPORTANT** Switched to the new setuptools (v0.9.7) which has been merged |
|
85 with Distribute_ again and works for Python 2 and 3 with one codebase. |
|
86 The ``--distribute`` and ``--setuptools`` options are now no-op. |
|
87 |
|
88 * Updated to pip 1.4. |
|
89 |
|
90 * Added support for PyPy3k |
|
91 |
|
92 * Added the option to use a version number with the ``-p`` option to get the |
|
93 system copy of that Python version (Windows only) |
|
94 |
|
95 * Removed embedded ``ez_setup.py``, ``distribute_setup.py`` and |
|
96 ``distribute_from_egg.py`` files as part of switching to merged setuptools. |
|
97 |
|
98 * Fixed ``--relocatable`` to work better on Windows. |
|
99 |
|
100 * Fixed issue with readline on Windows. |
|
101 |
|
102 .. _Distribute: https://pypi.python.org/pypi/distribute |
|
103 |
|
104 1.9.1 (2013-03-08) |
|
105 ~~~~~~~~~~~~~~~~~~ |
|
106 |
|
107 * Updated to pip 1.3.1 that fixed a major backward incompatible change of |
|
108 parsing URLs to externally hosted packages that got accidentily included |
|
109 in pip 1.3. |
|
110 |
|
111 1.9 (2013-03-07) |
|
112 ~~~~~~~~~~~~~~~~ |
|
113 |
|
114 * Unset VIRTUAL_ENV environment variable in deactivate.bat (Pull #364) |
|
115 * Upgraded distribute to 0.6.34. |
|
116 * Added ``--no-setuptools`` and ``--no-pip`` options (Pull #336). |
|
117 * Fixed Issue #373. virtualenv-1.8.4 was failing in cygwin (Pull #382). |
|
118 * Fixed Issue #378. virtualenv is now "multiarch" aware on debian/ubuntu (Pull #379). |
|
119 * Fixed issue with readline module path on pypy and OSX (Pull #374). |
|
120 * Made 64bit detection compatible with Python 2.5 (Pull #393). |
|
121 |
|
122 |
|
123 1.8.4 (2012-11-25) |
|
124 ~~~~~~~~~~~~~~~~~~ |
|
125 |
|
126 * Updated distribute to 0.6.31. This fixes #359 (numpy install regression) on |
|
127 UTF-8 platforms, and provides a workaround on other platforms: |
|
128 ``PYTHONIOENCODING=utf8 pip install numpy``. |
|
129 |
|
130 * When installing virtualenv via curl, don't forget to filter out arguments |
|
131 the distribute setup script won't understand. Fixes #358. |
|
132 |
|
133 * Added some more integration tests. |
|
134 |
|
135 * Removed the unsupported embedded setuptools egg for Python 2.4 to reduce |
|
136 file size. |
|
137 |
|
138 1.8.3 (2012-11-21) |
|
139 ~~~~~~~~~~~~~~~~~~ |
|
140 |
|
141 * Fixed readline on OS X. Thanks minrk |
|
142 |
|
143 * Updated distribute to 0.6.30 (improves our error reporting, plus new |
|
144 distribute features and fixes). Thanks Gabriel (g2p) |
|
145 |
|
146 * Added compatibility with multiarch Python (Python 3.3 for example). Added an |
|
147 integration test. Thanks Gabriel (g2p) |
|
148 |
|
149 * Added ability to install distribute from a user-provided egg, rather than the |
|
150 bundled sdist, for better speed. Thanks Paul Moore. |
|
151 |
|
152 * Make the creation of lib64 symlink smarter about already-existing symlink, |
|
153 and more explicit about full paths. Fixes #334 and #330. Thanks Jeremy Orem. |
|
154 |
|
155 * Give lib64 site-dir preference over lib on 64-bit systems, to avoid wrong |
|
156 32-bit compiles in the venv. Fixes #328. Thanks Damien Nozay. |
|
157 |
|
158 * Fix a bug with prompt-handling in ``activate.csh`` in non-interactive csh |
|
159 shells. Fixes #332. Thanks Benjamin Root for report and patch. |
|
160 |
|
161 * Make it possible to create a virtualenv from within a Python |
|
162 3.3. pyvenv. Thanks Chris McDonough for the report. |
|
163 |
|
164 * Add optional --setuptools option to be able to switch to it in case |
|
165 distribute is the default (like in Debian). |
|
166 |
|
167 1.8.2 (2012-09-06) |
|
168 ~~~~~~~~~~~~~~~~~~ |
|
169 |
|
170 * Updated the included pip version to 1.2.1 to fix regressions introduced |
|
171 there in 1.2. |
|
172 |
|
173 |
|
174 1.8.1 (2012-09-03) |
|
175 ~~~~~~~~~~~~~~~~~~ |
|
176 |
|
177 * Fixed distribute version used with `--never-download`. Thanks michr for |
|
178 report and patch. |
|
179 |
|
180 * Fix creating Python 3.3 based virtualenvs by unsetting the |
|
181 ``__PYVENV_LAUNCHER__`` environment variable in subprocesses. |
|
182 |
|
183 |
|
184 1.8 (2012-09-01) |
|
185 ~~~~~~~~~~~~~~~~ |
|
186 |
|
187 * **Dropped support for Python 2.4** The minimum supported Python version is |
|
188 now Python 2.5. |
|
189 |
|
190 * Fix `--relocatable` on systems that use lib64. Fixes #78. Thanks Branden |
|
191 Rolston. |
|
192 |
|
193 * Symlink some additional modules under Python 3. Fixes #194. Thanks Vinay |
|
194 Sajip, Ian Clelland, and Stefan Holek for the report. |
|
195 |
|
196 * Fix ``--relocatable`` when a script uses ``__future__`` imports. Thanks |
|
197 Branden Rolston. |
|
198 |
|
199 * Fix a bug in the config option parser that prevented setting negative |
|
200 options with environemnt variables. Thanks Ralf Schmitt. |
|
201 |
|
202 * Allow setting ``--no-site-packages`` from the config file. |
|
203 |
|
204 * Use ``/usr/bin/multiarch-platform`` if available to figure out the include |
|
205 directory. Thanks for the patch, Mika Laitio. |
|
206 |
|
207 * Fix ``install_name_tool`` replacement to work on Python 3.X. |
|
208 |
|
209 * Handle paths of users' site-packages on Mac OS X correctly when changing |
|
210 the prefix. |
|
211 |
|
212 * Updated the embedded version of distribute to 0.6.28 and pip to 1.2. |
|
213 |
|
214 |
|
215 1.7.2 (2012-06-22) |
|
216 ~~~~~~~~~~~~~~~~~~ |
|
217 |
|
218 * Updated to distribute 0.6.27. |
|
219 |
|
220 * Fix activate.fish on OS X. Fixes #8. Thanks David Schoonover. |
|
221 |
|
222 * Create a virtualenv-x.x script with the Python version when installing, so |
|
223 virtualenv for multiple Python versions can be installed to the same |
|
224 script location. Thanks Miki Tebeka. |
|
225 |
|
226 * Restored ability to create a virtualenv with a path longer than 78 |
|
227 characters, without breaking creation of virtualenvs with non-ASCII paths. |
|
228 Thanks, Bradley Ayers. |
|
229 |
|
230 * Added ability to create virtualenvs without having installed Apple's |
|
231 developers tools (using an own implementation of ``install_name_tool``). |
|
232 Thanks Mike Hommey. |
|
233 |
|
234 * Fixed PyPy and Jython support on Windows. Thanks Konstantin Zemlyak. |
|
235 |
|
236 * Added pydoc script to ease use. Thanks Marc Abramowitz. Fixes #149. |
|
237 |
|
238 * Fixed creating a bootstrap script on Python 3. Thanks Raul Leal. Fixes #280. |
|
239 |
|
240 * Fixed inconsistency when having set the ``PYTHONDONTWRITEBYTECODE`` env var |
|
241 with the --distribute option or the ``VIRTUALENV_USE_DISTRIBUTE`` env var. |
|
242 ``VIRTUALENV_USE_DISTRIBUTE`` is now considered again as a legacy alias. |
|
243 |
|
244 |
|
245 1.7.1.2 (2012-02-17) |
|
246 ~~~~~~~~~~~~~~~~~~~~ |
|
247 |
|
248 * Fixed minor issue in `--relocatable`. Thanks, Cap Petschulat. |
|
249 |
|
250 |
|
251 1.7.1.1 (2012-02-16) |
|
252 ~~~~~~~~~~~~~~~~~~~~ |
|
253 |
|
254 * Bumped the version string in ``virtualenv.py`` up, too. |
|
255 |
|
256 * Fixed rST rendering bug of long description. |
|
257 |
|
258 |
|
259 1.7.1 (2012-02-16) |
|
260 ~~~~~~~~~~~~~~~~~~ |
|
261 |
|
262 * Update embedded pip to version 1.1. |
|
263 |
|
264 * Fix `--relocatable` under Python 3. Thanks Doug Hellmann. |
|
265 |
|
266 * Added environ PATH modification to activate_this.py. Thanks Doug |
|
267 Napoleone. Fixes #14. |
|
268 |
|
269 * Support creating virtualenvs directly from a Python build directory on |
|
270 Windows. Thanks CBWhiz. Fixes #139. |
|
271 |
|
272 * Use non-recursive symlinks to fix things up for posix_local install |
|
273 scheme. Thanks michr. |
|
274 |
|
275 * Made activate script available for use with msys and cygwin on Windows. |
|
276 Thanks Greg Haskins, Cliff Xuan, Jonathan Griffin and Doug Napoleone. |
|
277 Fixes #176. |
|
278 |
|
279 * Fixed creation of virtualenvs on Windows when Python is not installed for |
|
280 all users. Thanks Anatoly Techtonik for report and patch and Doug |
|
281 Napoleone for testing and confirmation. Fixes #87. |
|
282 |
|
283 * Fixed creation of virtualenvs using -p in installs where some modules |
|
284 that ought to be in the standard library (e.g. `readline`) are actually |
|
285 installed in `site-packages` next to `virtualenv.py`. Thanks Greg Haskins |
|
286 for report and fix. Fixes #167. |
|
287 |
|
288 * Added activation script for Powershell (signed by Jannis Leidel). Many |
|
289 thanks to Jason R. Coombs. |
|
290 |
|
291 |
|
292 1.7 (2011-11-30) |
|
293 ~~~~~~~~~~~~~~~~ |
|
294 |
|
295 * Gave user-provided ``--extra-search-dir`` priority over default dirs for |
|
296 finding setuptools/distribute (it already had priority for finding pip). |
|
297 Thanks Ethan Jucovy. |
|
298 |
|
299 * Updated embedded Distribute release to 0.6.24. Thanks Alex Gronholm. |
|
300 |
|
301 * Made ``--no-site-packages`` behavior the default behavior. The |
|
302 ``--no-site-packages`` flag is still permitted, but displays a warning when |
|
303 used. Thanks Chris McDonough. |
|
304 |
|
305 * New flag: ``--system-site-packages``; this flag should be passed to get the |
|
306 previous default global-site-package-including behavior back. |
|
307 |
|
308 * Added ability to set command options as environment variables and options |
|
309 in a ``virtualenv.ini`` file. |
|
310 |
|
311 * Fixed various encoding related issues with paths. Thanks Gunnlaugur Thor Briem. |
|
312 |
|
313 * Made ``virtualenv.py`` script executable. |
|
314 |
|
315 |
|
316 1.6.4 (2011-07-21) |
|
317 ~~~~~~~~~~~~~~~~~~ |
|
318 |
|
319 * Restored ability to run on Python 2.4, too. |
|
320 |
|
321 |
|
322 1.6.3 (2011-07-16) |
|
323 ~~~~~~~~~~~~~~~~~~ |
|
324 |
|
325 * Restored ability to run on Python < 2.7. |
|
326 |
|
327 |
|
328 1.6.2 (2011-07-16) |
|
329 ~~~~~~~~~~~~~~~~~~ |
|
330 |
|
331 * Updated embedded distribute release to 0.6.19. |
|
332 |
|
333 * Updated embedded pip release to 1.0.2. |
|
334 |
|
335 * Fixed #141 - Be smarter about finding pkg_resources when using the |
|
336 non-default Python intepreter (by using the ``-p`` option). |
|
337 |
|
338 * Fixed #112 - Fixed path in docs. |
|
339 |
|
340 * Fixed #109 - Corrected doctests of a Logger method. |
|
341 |
|
342 * Fixed #118 - Fixed creating virtualenvs on platforms that use the |
|
343 "posix_local" install scheme, such as Ubuntu with Python 2.7. |
|
344 |
|
345 * Add missing library to Python 3 virtualenvs (``_dummy_thread``). |
|
346 |
|
347 |
|
348 1.6.1 (2011-04-30) |
|
349 ~~~~~~~~~~~~~~~~~~ |
|
350 |
|
351 * Start to use git-flow. |
|
352 |
|
353 * Added support for PyPy 1.5 |
|
354 |
|
355 * Fixed #121 -- added sanity-checking of the -p argument. Thanks Paul Nasrat. |
|
356 |
|
357 * Added progress meter for pip installation as well as setuptools. Thanks Ethan |
|
358 Jucovy. |
|
359 |
|
360 * Added --never-download and --search-dir options. Thanks Ethan Jucovy. |
|
361 |
|
362 |
|
363 1.6 |
|
364 ~~~ |
|
365 |
|
366 * Added Python 3 support! Huge thanks to Vinay Sajip and Vitaly Babiy. |
|
367 |
|
368 * Fixed creation of virtualenvs on Mac OS X when standard library modules |
|
369 (readline) are installed outside the standard library. |
|
370 |
|
371 * Updated bundled pip to 1.0. |
|
372 |
|
373 |
|
374 1.5.2 |
|
375 ~~~~~ |
|
376 |
|
377 * Moved main repository to Github: https://github.com/pypa/virtualenv |
|
378 |
|
379 * Transferred primary maintenance from Ian to Jannis Leidel, Carl Meyer and Brian Rosner |
|
380 |
|
381 * Fixed a few more pypy related bugs. |
|
382 |
|
383 * Updated bundled pip to 0.8.2. |
|
384 |
|
385 * Handed project over to new team of maintainers. |
|
386 |
|
387 * Moved virtualenv to Github at https://github.com/pypa/virtualenv |
|
388 |
|
389 |
|
390 1.5.1 |
|
391 ~~~~~ |
|
392 |
|
393 * Added ``_weakrefset`` requirement for Python 2.7.1. |
|
394 |
|
395 * Fixed Windows regression in 1.5 |
|
396 |
|
397 |
|
398 1.5 |
|
399 ~~~ |
|
400 |
|
401 * Include pip 0.8.1. |
|
402 |
|
403 * Add support for PyPy. |
|
404 |
|
405 * Uses a proper temporary dir when installing environment requirements. |
|
406 |
|
407 * Add ``--prompt`` option to be able to override the default prompt prefix. |
|
408 |
|
409 * Fix an issue with ``--relocatable`` on Windows. |
|
410 |
|
411 * Fix issue with installing the wrong version of distribute. |
|
412 |
|
413 * Add fish and csh activate scripts. |
|
414 |
|
415 |
|
416 1.4.9 |
|
417 ~~~~~ |
|
418 |
|
419 * Include pip 0.7.2 |
|
420 |
|
421 |
|
422 1.4.8 |
|
423 ~~~~~ |
|
424 |
|
425 * Fix for Mac OS X Framework builds that use |
|
426 ``--universal-archs=intel`` |
|
427 |
|
428 * Fix ``activate_this.py`` on Windows. |
|
429 |
|
430 * Allow ``$PYTHONHOME`` to be set, so long as you use ``source |
|
431 bin/activate`` it will get unset; if you leave it set and do not |
|
432 activate the environment it will still break the environment. |
|
433 |
|
434 * Include pip 0.7.1 |
|
435 |
|
436 |
|
437 1.4.7 |
|
438 ~~~~~ |
|
439 |
|
440 * Include pip 0.7 |
|
441 |
|
442 |
|
443 1.4.6 |
|
444 ~~~~~ |
|
445 |
|
446 * Allow ``activate.sh`` to skip updating the prompt (by setting |
|
447 ``$VIRTUAL_ENV_DISABLE_PROMPT``). |
|
448 |
|
449 |
|
450 1.4.5 |
|
451 ~~~~~ |
|
452 |
|
453 * Include pip 0.6.3 |
|
454 |
|
455 * Fix ``activate.bat`` and ``deactivate.bat`` under Windows when |
|
456 ``PATH`` contained a parenthesis |
|
457 |
|
458 |
|
459 1.4.4 |
|
460 ~~~~~ |
|
461 |
|
462 * Include pip 0.6.2 and Distribute 0.6.10 |
|
463 |
|
464 * Create the ``virtualenv`` script even when Setuptools isn't |
|
465 installed |
|
466 |
|
467 * Fix problem with ``virtualenv --relocate`` when ``bin/`` has |
|
468 subdirectories (e.g., ``bin/.svn/``); from Alan Franzoni. |
|
469 |
|
470 * If you set ``$VIRTUALENV_DISTRIBUTE`` then virtualenv will use |
|
471 Distribute by default (so you don't have to remember to use |
|
472 ``--distribute``). |
|
473 |
|
474 |
|
475 1.4.3 |
|
476 ~~~~~ |
|
477 |
|
478 * Include pip 0.6.1 |
|
479 |
|
480 |
|
481 1.4.2 |
|
482 ~~~~~ |
|
483 |
|
484 * Fix pip installation on Windows |
|
485 |
|
486 * Fix use of stand-alone ``virtualenv.py`` (and boot scripts) |
|
487 |
|
488 * Exclude ~/.local (user site-packages) from environments when using |
|
489 ``--no-site-packages`` |
|
490 |
|
491 |
|
492 1.4.1 |
|
493 ~~~~~ |
|
494 |
|
495 * Include pip 0.6 |
|
496 |
|
497 |
|
498 1.4 |
|
499 ~~~ |
|
500 |
|
501 * Updated setuptools to 0.6c11 |
|
502 |
|
503 * Added the --distribute option |
|
504 |
|
505 * Fixed packaging problem of support-files |
|
506 |
|
507 |
|
508 1.3.4 |
|
509 ~~~~~ |
|
510 |
|
511 * Virtualenv now copies the actual embedded Python binary on |
|
512 Mac OS X to fix a hang on Snow Leopard (10.6). |
|
513 |
|
514 * Fail more gracefully on Windows when ``win32api`` is not installed. |
|
515 |
|
516 * Fix site-packages taking precedent over Jython's ``__classpath__`` |
|
517 and also specially handle the new ``__pyclasspath__`` entry in |
|
518 ``sys.path``. |
|
519 |
|
520 * Now copies Jython's ``registry`` file to the virtualenv if it exists. |
|
521 |
|
522 * Better find libraries when compiling extensions on Windows. |
|
523 |
|
524 * Create ``Scripts\pythonw.exe`` on Windows. |
|
525 |
|
526 * Added support for the Debian/Ubuntu |
|
527 ``/usr/lib/pythonX.Y/dist-packages`` directory. |
|
528 |
|
529 * Set ``distutils.sysconfig.get_config_vars()['LIBDIR']`` (based on |
|
530 ``sys.real_prefix``) which is reported to help building on Windows. |
|
531 |
|
532 * Make ``deactivate`` work on ksh |
|
533 |
|
534 * Fixes for ``--python``: make it work with ``--relocatable`` and the |
|
535 symlink created to the exact Python version. |
|
536 |
|
537 |
|
538 1.3.3 |
|
539 ~~~~~ |
|
540 |
|
541 * Use Windows newlines in ``activate.bat``, which has been reported to help |
|
542 when using non-ASCII directory names. |
|
543 |
|
544 * Fixed compatibility with Jython 2.5b1. |
|
545 |
|
546 * Added a function ``virtualenv.install_python`` for more fine-grained |
|
547 access to what ``virtualenv.create_environment`` does. |
|
548 |
|
549 * Fix `a problem <https://bugs.launchpad.net/virtualenv/+bug/241581>`_ |
|
550 with Windows and paths that contain spaces. |
|
551 |
|
552 * If ``/path/to/env/.pydistutils.cfg`` exists (or |
|
553 ``/path/to/env/pydistutils.cfg`` on Windows systems) then ignore |
|
554 ``~/.pydistutils.cfg`` and use that other file instead. |
|
555 |
|
556 * Fix ` a problem |
|
557 <https://bugs.launchpad.net/virtualenv/+bug/340050>`_ picking up |
|
558 some ``.so`` libraries in ``/usr/local``. |
|
559 |
|
560 |
|
561 1.3.2 |
|
562 ~~~~~ |
|
563 |
|
564 * Remove the ``[install] prefix = ...`` setting from the virtualenv |
|
565 ``distutils.cfg`` -- this has been causing problems for a lot of |
|
566 people, in rather obscure ways. |
|
567 |
|
568 * If you use a boot script it will attempt to import ``virtualenv`` |
|
569 and find a pre-downloaded Setuptools egg using that. |
|
570 |
|
571 * Added platform-specific paths, like ``/usr/lib/pythonX.Y/plat-linux2`` |
|
572 |
|
573 |
|
574 1.3.1 |
|
575 ~~~~~ |
|
576 |
|
577 * Real Python 2.6 compatibility. Backported the Python 2.6 updates to |
|
578 ``site.py``, including `user directories |
|
579 <http://docs.python.org/dev/whatsnew/2.6.html#pep-370-per-user-site-packages-directory>`_ |
|
580 (this means older versions of Python will support user directories, |
|
581 whether intended or not). |
|
582 |
|
583 * Always set ``[install] prefix`` in ``distutils.cfg`` -- previously |
|
584 on some platforms where a system-wide ``distutils.cfg`` was present |
|
585 with a ``prefix`` setting, packages would be installed globally |
|
586 (usually in ``/usr/local/lib/pythonX.Y/site-packages``). |
|
587 |
|
588 * Sometimes Cygwin seems to leave ``.exe`` off ``sys.executable``; a |
|
589 workaround is added. |
|
590 |
|
591 * Fix ``--python`` option. |
|
592 |
|
593 * Fixed handling of Jython environments that use a |
|
594 jython-complete.jar. |
|
595 |
|
596 |
|
597 1.3 |
|
598 ~~~ |
|
599 |
|
600 * Update to Setuptools 0.6c9 |
|
601 * Added an option ``virtualenv --relocatable EXISTING_ENV``, which |
|
602 will make an existing environment "relocatable" -- the paths will |
|
603 not be absolute in scripts, ``.egg-info`` and ``.pth`` files. This |
|
604 may assist in building environments that can be moved and copied. |
|
605 You have to run this *after* any new packages installed. |
|
606 * Added ``bin/activate_this.py``, a file you can use like |
|
607 ``execfile("path_to/activate_this.py", |
|
608 dict(__file__="path_to/activate_this.py"))`` -- this will activate |
|
609 the environment in place, similar to what `the mod_wsgi example |
|
610 does <http://code.google.com/p/modwsgi/wiki/VirtualEnvironments>`_. |
|
611 * For Mac framework builds of Python, the site-packages directory |
|
612 ``/Library/Python/X.Y/site-packages`` is added to ``sys.path``, from |
|
613 Andrea Rech. |
|
614 * Some platform-specific modules in Macs are added to the path now |
|
615 (``plat-darwin/``, ``plat-mac/``, ``plat-mac/lib-scriptpackages``), |
|
616 from Andrea Rech. |
|
617 * Fixed a small Bashism in the ``bin/activate`` shell script. |
|
618 * Added ``__future__`` to the list of required modules, for Python |
|
619 2.3. You'll still need to backport your own ``subprocess`` module. |
|
620 * Fixed the ``__classpath__`` entry in Jython's ``sys.path`` taking |
|
621 precedent over virtualenv's libs. |
|
622 |
|
623 |
|
624 1.2 |
|
625 ~~~ |
|
626 |
|
627 * Added a ``--python`` option to select the Python interpreter. |
|
628 * Add ``warnings`` to the modules copied over, for Python 2.6 support. |
|
629 * Add ``sets`` to the module copied over for Python 2.3 (though Python |
|
630 2.3 still probably doesn't work). |
|
631 |
|
632 |
|
633 1.1.1 |
|
634 ~~~~~ |
|
635 |
|
636 * Added support for Jython 2.5. |
|
637 |
|
638 |
|
639 1.1 |
|
640 ~~~ |
|
641 |
|
642 * Added support for Python 2.6. |
|
643 * Fix a problem with missing ``DLLs/zlib.pyd`` on Windows. Create |
|
644 * ``bin/python`` (or ``bin/python.exe``) even when you run virtualenv |
|
645 with an interpreter named, e.g., ``python2.4`` |
|
646 * Fix MacPorts Python |
|
647 * Added --unzip-setuptools option |
|
648 * Update to Setuptools 0.6c8 |
|
649 * If the current directory is not writable, run ez_setup.py in ``/tmp`` |
|
650 * Copy or symlink over the ``include`` directory so that packages will |
|
651 more consistently compile. |
|
652 |
|
653 |
|
654 1.0 |
|
655 ~~~ |
|
656 |
|
657 * Fix build on systems that use ``/usr/lib64``, distinct from |
|
658 ``/usr/lib`` (specifically CentOS x64). |
|
659 * Fixed bug in ``--clear``. |
|
660 * Fixed typos in ``deactivate.bat``. |
|
661 * Preserve ``$PYTHONPATH`` when calling subprocesses. |
|
662 |
|
663 |
|
664 0.9.2 |
|
665 ~~~~~ |
|
666 |
|
667 * Fix include dir copying on Windows (makes compiling possible). |
|
668 * Include the main ``lib-tk`` in the path. |
|
669 * Patch ``distutils.sysconfig``: ``get_python_inc`` and |
|
670 ``get_python_lib`` to point to the global locations. |
|
671 * Install ``distutils.cfg`` before Setuptools, so that system |
|
672 customizations of ``distutils.cfg`` won't effect the installation. |
|
673 * Add ``bin/pythonX.Y`` to the virtualenv (in addition to |
|
674 ``bin/python``). |
|
675 * Fixed an issue with Mac Framework Python builds, and absolute paths |
|
676 (from Ronald Oussoren). |
|
677 |
|
678 |
|
679 0.9.1 |
|
680 ~~~~~ |
|
681 |
|
682 * Improve ability to create a virtualenv from inside a virtualenv. |
|
683 * Fix a little bug in ``bin/activate``. |
|
684 * Actually get ``distutils.cfg`` to work reliably. |
|
685 |
|
686 |
|
687 0.9 |
|
688 ~~~ |
|
689 |
|
690 * Added ``lib-dynload`` and ``config`` to things that need to be |
|
691 copied over in an environment. |
|
692 * Copy over or symlink the ``include`` directory, so that you can |
|
693 build packages that need the C headers. |
|
694 * Include a ``distutils`` package, so you can locally update |
|
695 ``distutils.cfg`` (in ``lib/pythonX.Y/distutils/distutils.cfg``). |
|
696 * Better avoid downloading Setuptools, and hitting PyPI on environment |
|
697 creation. |
|
698 * Fix a problem creating a ``lib64/`` directory. |
|
699 * Should work on MacOSX Framework builds (the default Python |
|
700 installations on Mac). Thanks to Ronald Oussoren. |
|
701 |
|
702 |
|
703 0.8.4 |
|
704 ~~~~~ |
|
705 |
|
706 * Windows installs would sometimes give errors about ``sys.prefix`` that |
|
707 were inaccurate. |
|
708 * Slightly prettier output. |
|
709 |
|
710 |
|
711 0.8.3 |
|
712 ~~~~~ |
|
713 |
|
714 * Added support for Windows. |
|
715 |
|
716 |
|
717 0.8.2 |
|
718 ~~~~~ |
|
719 |
|
720 * Give a better warning if you are on an unsupported platform (Mac |
|
721 Framework Pythons, and Windows). |
|
722 * Give error about running while inside a workingenv. |
|
723 * Give better error message about Python 2.3. |
|
724 |
|
725 |
|
726 0.8.1 |
|
727 ~~~~~ |
|
728 |
|
729 Fixed packaging of the library. |
|
730 |
|
731 |
|
732 0.8 |
|
733 ~~~ |
|
734 |
|
735 Initial release. Everything is changed and new! |