From 9a6dd537c7baeb3f62f26b974f9dcdf9010cb5e2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 7 Apr 2017 15:15:23 +0300 Subject: Move check -running from setup.py to shell script This lets me add optional args to yarn more easily. --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index cc0a3b0..d091592 100644 --- a/setup.py +++ b/setup.py @@ -80,7 +80,9 @@ class Check(Command): def run_yarns(self): cliapp.runcmd( - ['yarn'] + glob.glob('yarns/*.yarn'), + ['yarn', '--shell=python2', '--shell-arg', '', + '--shell-library=yarns/lib.py', '--cd-datadir'] + + glob.glob('yarns/*.yarn'), stdout=None, stderr=None) def command_is_available(self, command_name): -- cgit v1.2.1