mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 19:44:45 +00:00
test distro dependency
This commit is contained in:
@@ -389,6 +389,13 @@ def dependencies_met():
|
||||
assert toml
|
||||
except ImportError as 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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user