From 8cb20f475e9f0a99f88cd9ae08c4e74191379627 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 30 Dec 2012 11:37:10 -0500 Subject: [PATCH] swc-installation-test-2.py: `PythonDependency`s should depend on Python --- swc-installation-test-2.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swc-installation-test-2.py b/swc-installation-test-2.py index d07fcc5..34daeec 100755 --- a/swc-installation-test-2.py +++ b/swc-installation-test-2.py @@ -287,6 +287,10 @@ class PythonPackageDependency (Dependency): def __init__(self, package, **kwargs): if 'name' not in kwargs: kwargs['name'] = package + if 'and_dependencies' not in kwargs: + kwargs['and_dependencies'] = [] + if 'python' not in kwargs['and_dependencies']: + kwargs['and_dependencies'].append('python') super(PythonPackageDependency, self).__init__(**kwargs) self.package = package -- 2.26.2