13200: format gitinfo on all the services
[arvados.git] / services / dockercleaner / setup.py
index 6a6a96a0455eee17d5f5bb1b725b69f767805cae..b287bd00d27514af6604aafb80062602d40a9161 100644 (file)
@@ -12,10 +12,10 @@ from setuptools import setup, find_packages
 tagger = egg_info_cmd.egg_info
 version = os.environ.get("ARVADOS_BUILDING_VERSION")
 if not version:
-    version = "0.1"
     try:
-        import gittaggers
-        tagger = gittaggers.EggInfoFromGit
+        import arvados_version
+        vtag = arvados_version.VersionInfoFromGit()
+        version = vtag.git_latest_tag() + vtag.git_timestamp_tag()
     except ImportError:
         pass