mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[mod] try to play with build-depends
This commit is contained in:
parent
26671af385
commit
276b2013fe
2 changed files with 2 additions and 7 deletions
2
debian/control
vendored
2
debian/control
vendored
|
@ -2,7 +2,7 @@ Source: moulinette
|
||||||
Section: python
|
Section: python
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Jérôme Lebleu <jerome.lebleu@mailoo.org>
|
Maintainer: Jérôme Lebleu <jerome.lebleu@mailoo.org>
|
||||||
Build-Depends: debhelper (>= 9), python (>= 2.7), dh-python
|
Build-Depends: debhelper (>= 9), python (>= 2.7), dh-python, python-all (>= 2.7)
|
||||||
Standards-Version: 3.9.6
|
Standards-Version: 3.9.6
|
||||||
X-Python-Version: >= 2.7
|
X-Python-Version: >= 2.7
|
||||||
Homepage: https://github.com/YunoHost/moulinette
|
Homepage: https://github.com/YunoHost/moulinette
|
||||||
|
|
|
@ -5,6 +5,7 @@ import time
|
||||||
import json
|
import json
|
||||||
import errno
|
import errno
|
||||||
import logging
|
import logging
|
||||||
|
import psutil
|
||||||
|
|
||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
|
|
||||||
|
@ -496,12 +497,6 @@ class MoulinetteLock(object):
|
||||||
return lock_pid
|
return lock_pid
|
||||||
|
|
||||||
def _is_son_of_locked(self):
|
def _is_son_of_locked(self):
|
||||||
# this is here and not at the beginning of the file to fix a bug in our
|
|
||||||
# debian build toolchain because it doesn't handle additional
|
|
||||||
# dependancies during the guilde and core.py is indirectly imported by
|
|
||||||
# setup.py
|
|
||||||
import psutil
|
|
||||||
|
|
||||||
lock_pid = self._lock_PID()
|
lock_pid = self._lock_PID()
|
||||||
|
|
||||||
if lock_pid is None:
|
if lock_pid is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue