From c5ff4f45f37c8d92ff16f442f27d228ee144dab1 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Tue, 18 Oct 2016 23:44:02 +0300 Subject: [PATCH] Add optial dependency key 'all' --- pupy/pupylib/PupyModule.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pupy/pupylib/PupyModule.py b/pupy/pupylib/PupyModule.py index cd49209e..8657be3f 100644 --- a/pupy/pupylib/PupyModule.py +++ b/pupy/pupylib/PupyModule.py @@ -108,7 +108,8 @@ class PupyModule(object): def import_dependencies(self): if type(self.dependencies) == dict: - dependencies = self.dependencies.get(self.client.platform(), []) + dependencies = self.dependencies.get('all', []) + \ + self.dependencies.get(self.client.platform(), []) else: dependencies = self.dependencies