Skip to content

Commit

Permalink
script helpful in using virtualenv directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Laskowski committed Aug 3, 2017
1 parent 165efc9 commit 417cf0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions init-tox-env
@@ -0,0 +1,8 @@
#!/bin/bash

# Facilitates interactive testing with virtualenv produced by tox.
# Script should be used as '. init-tox-env'.

projectdir=`dirname $0`
tox -e py27-pytest30 --notest && source ${projectdir}/.tox/py27-pytest30/bin/activate && cd ${projectdir}/tests

0 comments on commit 417cf0b

Please sign in to comment.