Make vigil work on other distributions. (fedora, debian, archlinux)

- Now using python3.4 on debian, and python3.5 elsewhere.
 - Added test-distributions script that checks that
   install-dependencies works on different distributions.
This commit is contained in:
Andrew Hamilton 2017-05-17 16:46:54 +01:00
parent 5b41471a47
commit 5b08029d0b
18 changed files with 206 additions and 45 deletions

5
vigil
View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.5
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2015-2017 Andrew Hamilton. All rights reserved.
@ -559,8 +559,7 @@ class Screen:
future = worker_.job_runner(
self._summary, self._log, self._summary._jobs_added_event,
self._appearance_changed_event)
worker_.future = asyncio.ensure_future(
future, loop=self._main_loop)
worker_.future = asyncio.async(future, loop=self._main_loop)
self.workers = workers
def stop_workers(self):