diff options
| author | Monty Taylor <mordred@inaugust.com> | 2013-07-16 11:25:24 -0400 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2013-07-16 11:25:24 -0400 |
| commit | b15eb846a53ab24ccce15849e5a3e1d40ad17d1c (patch) | |
| tree | b52407957f034839669ea4c626e2cd0378c8928d | |
| parent | 172bd3ebfed6fd3e02557476182ce9532dd157c7 (diff) | |
| download | tox-b15eb846a53ab24ccce15849e5a3e1d40ad17d1c.tar.gz | |
Don't run --no-deps on intial install
Copy the logic from installpkg more completely.
| -rw-r--r-- | tox/_venv.py | 9 |
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): |
