summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-07-16 11:25:24 -0400
committerMonty Taylor <mordred@inaugust.com>2013-07-16 11:25:24 -0400
commitb15eb846a53ab24ccce15849e5a3e1d40ad17d1c (patch)
treeb52407957f034839669ea4c626e2cd0378c8928d
parent172bd3ebfed6fd3e02557476182ce9532dd157c7 (diff)
downloadtox-b15eb846a53ab24ccce15849e5a3e1d40ad17d1c.tar.gz
Don't run --no-deps on intial install
Copy the logic from installpkg more completely.
-rw-r--r--tox/_venv.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/tox/_venv.py b/tox/_venv.py
index d25f1b2..a7845e6 100644
--- a/tox/_venv.py
+++ b/tox/_venv.py
@@ -216,10 +216,15 @@ class VirtualEnv(object):
def developpkg(self, setupdir, action):
assert action is not None
- self.finish()
+ if getattr(self, 'just_created', False):
+ action.setactivity("inst", sdistpath)
+ self.finish()
+ extraopts = []
+ else:
+ action.setactivity("inst-nodeps", sdistpath)
+ extraopts = ['--no-deps']
if not self._needs_reinstall(setupdir, action):
return
- extraopts = ['--no-deps']
self._install(['-e', setupdir], extraopts=extraopts, action=action)
def installpkg(self, sdistpath, action):