[Pytest-commit] commit/tox: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat Jun 22 08:49:18 CEST 2013


2 new commits in tox:

https://bitbucket.org/hpk42/tox/commits/1eaa99354a61/
Changeset:   1eaa99354a61
User:        hpk42
Date:        2013-06-21 19:41:31
Summary:     simplify toxbootstrap
Affected #:  1 file

diff -r b2a02a07836c5128b8448e85779e4e8c9c660886 -r 1eaa99354a6125c7b4c0e0047df926d7c9d24959 toxbootstrap.py
--- a/toxbootstrap.py
+++ b/toxbootstrap.py
@@ -192,7 +192,7 @@
         # XXX: we use --no-site-packages because: if tox is installed in global
         # site-packages, then pip will not install it locally. ideal fix for
         # this should be to first look for tox in the global scripts/ directory
-        run('%s virtualenv.py --no-site-packages --distribute %s' %
+        run('%s virtualenv.py --no-site-packages --setuptools %s' %
                 (sys.executable, TENV))
         logging.info("removing virtualenv.py script after bootstrap venv creation")
         for x in ('', 'o', 'c'):
@@ -209,11 +209,6 @@
 
     # install/upgrade tox itself
     if USETOXDEV:
-        if 'PIP_DOWNLOAD_CACHE' in os.environ:
-            cache = ""
-        else:
-            cache = "--download-cache=_download"
-            ensuredir('_download')
         run('%s install -q -i http://pypi.testrun.org '
             '--upgrade %s tox' % (pip, cache))
     elif any([


https://bitbucket.org/hpk42/tox/commits/e286636af34a/
Changeset:   e286636af34a
User:        hpk42
Date:        2013-06-22 08:49:09
Summary:     fixing changelog and adding a whitelist_externals example
Affected #:  3 files

diff -r 1eaa99354a6125c7b4c0e0047df926d7c9d24959 -r e286636af34ab70a5dac5ed815b1dc1a842f53b9 CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -6,9 +6,7 @@
 
 - make sure test commands are searched first in the virtualenv 
 
-- rename README.txt to README.rst to make bitbucket happier
-
-- re-fix issue2 - add command_whitelist to be used in ``[testenv*]``
+- re-fix issue2 - add whitelist_externals to be used in ``[testenv*]``
   sections, allowing to avoid warnings for commands such as ``make``,
   used from the commands value.
 
@@ -24,8 +22,8 @@
 
 - depend on virtualenv-1.9.1 
 
-- use either --distribute or --setuptools depending 
-  on "distribute" env config
+- rename README.txt to README.rst to make bitbucket happier
+
 
 1.4.3
 -----------------

diff -r 1eaa99354a6125c7b4c0e0047df926d7c9d24959 -r e286636af34ab70a5dac5ed815b1dc1a842f53b9 doc/example/basic.txt
--- a/doc/example/basic.txt
+++ b/doc/example/basic.txt
@@ -44,6 +44,22 @@
 However, you can also create your own test environment names,
 see some of the examples in :doc:`examples <../examples>`.
 
+whitelisting a non-virtualenv commands
+-----------------------------------------------
+
+.. versionadded:: 1.5
+
+Sometimes you may want to use tools not contained in your
+virtualenv such as ``make``, ``bash`` or others. To avoid
+warnings you can use the ``whitelist_externals`` testenv
+configuration::
+
+    # content of tox.ini
+    [testenv]
+    whitelist_externals = make
+                          /bin/bash
+
+
 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
 
 .. _multiindex:

diff -r 1eaa99354a6125c7b4c0e0047df926d7c9d24959 -r e286636af34ab70a5dac5ed815b1dc1a842f53b9 doc/install.txt
--- a/doc/install.txt
+++ b/doc/install.txt
@@ -4,13 +4,13 @@
 Install info in a nutshell
 ----------------------------------
 
-**Pythons**: CPython 2.4-3.2, Jython-2.5.1, pypy-1.5
+**Pythons**: CPython 2.4-3.3, Jython-2.5.1, pypy-1.9ff
 
 **Operating systems**: Linux, Windows, OSX, Unix
 
 **Installer Requirements**: setuptools_ or Distribute_
 
-**License**: GPLv2 or later
+**License**: MIT license
 
 **hg repository**: http://bitbucket.org/hpk42/tox

Repository URL: https://bitbucket.org/hpk42/tox/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list