Browse Source

Added option to install/upgrade required virtualenv version .

modified:   setup.py
	modified:   tox
main
root 11 years ago
parent
commit
4c0d095632
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      setup.py
  2. +2
    -2
      tox

+ 1
- 1
setup.py View File

@@ -30,5 +30,5 @@ setup(
package_dir={'': 'src'},
include_package_data=True,
install_requires=[],
tests_require=['pytest', 'tox'],
tests_require=['virtualenv>=1.8.4','pytest'],
)

+ 2
- 2
tox View File

@@ -5,7 +5,7 @@ set -e
if which virtualenv >/dev/null; then
echo
else
apt-get install -y python-virtualenv
sudo easy_install "virtualenv>=1.8.4"
if [ $? -ne 0 ]; then
echo "failed to install virtualenv, you'll have to fix this yourself"
exit 1
@@ -27,7 +27,7 @@ then
exit 1
fi

#pip install tox -v
pip install tox --upgrade -v
# pytest pytest-cov

tox -v


Loading…
Cancel
Save