remove some of the checks
This commit is contained in:
parent
b828c86d62
commit
cfd4ca418d
12
checkdeps.py
12
checkdeps.py
|
@ -44,9 +44,9 @@ EXTRAS_REQUIRE_DEPS = {
|
||||||
# The packages needed for this requirement, by OS
|
# The packages needed for this requirement, by OS
|
||||||
"OpenBSD": [""],
|
"OpenBSD": [""],
|
||||||
"FreeBSD": [""],
|
"FreeBSD": [""],
|
||||||
"Debian": ["libcap-dev python-prctl"],
|
"Debian": [""],
|
||||||
"Ubuntu": ["libcap-dev python-prctl"],
|
"Ubuntu": [""],
|
||||||
"Ubuntu 12": ["libcap-dev python-prctl"],
|
"Ubuntu 12": [""],
|
||||||
"openSUSE": [""],
|
"openSUSE": [""],
|
||||||
"Fedora": ["prctl"],
|
"Fedora": ["prctl"],
|
||||||
"Guix": [""],
|
"Guix": [""],
|
||||||
|
@ -57,7 +57,9 @@ EXTRAS_REQUIRE_DEPS = {
|
||||||
|
|
||||||
def detectPrereqs(missing=True):
|
def detectPrereqs(missing=True):
|
||||||
available = []
|
available = []
|
||||||
|
print('PACKAGES: ', PACKAGES)
|
||||||
for module in PACKAGES:
|
for module in PACKAGES:
|
||||||
|
print('module: ', module)
|
||||||
try:
|
try:
|
||||||
import_module(module)
|
import_module(module)
|
||||||
if not missing:
|
if not missing:
|
||||||
|
@ -69,6 +71,7 @@ def detectPrereqs(missing=True):
|
||||||
|
|
||||||
|
|
||||||
def prereqToPackages():
|
def prereqToPackages():
|
||||||
|
print('line....................73')
|
||||||
if not detectPrereqs():
|
if not detectPrereqs():
|
||||||
return
|
return
|
||||||
print("%s %s" % (
|
print("%s %s" % (
|
||||||
|
@ -77,6 +80,7 @@ def prereqToPackages():
|
||||||
|
|
||||||
|
|
||||||
def compilerToPackages():
|
def compilerToPackages():
|
||||||
|
print('line....................82')
|
||||||
if not detectOS() in COMPILING:
|
if not detectOS() in COMPILING:
|
||||||
return
|
return
|
||||||
print("%s %s" % (
|
print("%s %s" % (
|
||||||
|
@ -84,6 +88,7 @@ def compilerToPackages():
|
||||||
|
|
||||||
|
|
||||||
def testCompiler():
|
def testCompiler():
|
||||||
|
print('line.......................90')
|
||||||
if not HAVE_SETUPTOOLS:
|
if not HAVE_SETUPTOOLS:
|
||||||
# silent, we can't test without setuptools
|
# silent, we can't test without setuptools
|
||||||
return True
|
return True
|
||||||
|
@ -137,6 +142,7 @@ if prereqs:
|
||||||
OPSYS = detectOS()
|
OPSYS = detectOS()
|
||||||
CMD = PACKAGE_MANAGER[OPSYS] if OPSYS in PACKAGE_MANAGER else 'UNKNOWN_INSTALLER'
|
CMD = PACKAGE_MANAGER[OPSYS] if OPSYS in PACKAGE_MANAGER else 'UNKNOWN_INSTALLER'
|
||||||
for lhs, rhs in EXTRAS_REQUIRE.items():
|
for lhs, rhs in EXTRAS_REQUIRE.items():
|
||||||
|
print('lhs, rhs : ', lhs, rhs)
|
||||||
if OPSYS is None:
|
if OPSYS is None:
|
||||||
break
|
break
|
||||||
if rhs and any([
|
if rhs and any([
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
python_prctl
|
||||||
psutil
|
psutil
|
||||||
pycrypto
|
pycrypto
|
||||||
|
|
Reference in New Issue
Block a user