Better distro check in setup.py
This commit is contained in:
parent
27fbca5900
commit
e52f780bd5
|
@ -18,7 +18,7 @@ def get_libcarla_extensions():
|
|||
libraries = []
|
||||
|
||||
if os.name == "posix":
|
||||
if platform.dist()[0] == "Ubuntu":
|
||||
if platform.dist()[0].lower() in ["ubuntu", "debian"]:
|
||||
pwd = os.path.dirname(os.path.realpath(__file__))
|
||||
pylib = "libboost_python%d%d.a" % (sys.version_info.major,
|
||||
sys.version_info.minor)
|
||||
|
|
Loading…
Reference in New Issue