mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 22:34:10 +00:00
test distro dependency
This commit is contained in:
@@ -389,6 +389,13 @@ def dependencies_met():
|
|||||||
assert toml
|
assert toml
|
||||||
except ImportError as exc:
|
except ImportError as exc:
|
||||||
raise Exception(err.format('toml')) from exc
|
raise Exception(err.format('toml')) from exc
|
||||||
|
|
||||||
|
# distro
|
||||||
|
try:
|
||||||
|
import distro
|
||||||
|
assert distro
|
||||||
|
except ImportError as exc:
|
||||||
|
raise Exception(err.format('distro')) from exc
|
||||||
# pylint: enable=C0415
|
# pylint: enable=C0415
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user