projects
/
swc-setup-installation-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c66d15
)
swc-installation-test-2.py: `PythonDependency`s should depend on Python
author
W. Trevor King
<wking@tremily.us>
Sun, 30 Dec 2012 16:37:10 +0000
(11:37 -0500)
committer
W. Trevor King
<wking@tremily.us>
Tue, 1 Jan 2013 14:49:46 +0000
(09:49 -0500)
swc-installation-test-2.py
patch
|
blob
|
history
diff --git
a/swc-installation-test-2.py
b/swc-installation-test-2.py
index d07fcc5224ede5f31517d4ece0a4006c03e5ad45..34daeeca8e7fe7af026a56d2c45f33ad16e2e192 100755
(executable)
--- 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