diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -24,9 +24,8 @@ OME-GO Management library
 """
 
 from setuptools import setup
-from yaclifw.version import get_git_version
-
 from setuptools.command.test import test as TestCommand
+
 import sys
 
 
@@ -80,8 +79,13 @@ class PyTest(TestCommand):
         errno = pytest.main(self.test_args)
         sys.exit(errno)
 
-from omego import __file__ as module_file
-VERSION = get_git_version(module_file)
+
+try:
+    from yaclifw.version import get_git_version
+    from omego import __file__ as module_file
+    VERSION = get_git_version(module_file)
+except ImportError:
+    VERSION = "UNKNOWN"
 ZIP_SAFE = False
Use "UNKNOWN" in omego if no yaclifw present

Since setup.py has a dependency on yaclifw,
there's no way for setup.py to auto-install
it. This fallsback to using "UNKNOWN" if no
yaclifw is present.