21601: Move --short-tests-only check to arvados_version
[arvados.git] / services / fuse / setup.py
index b04829652e948b4de22c3c433620287c4fb51ef1..80a26980f178d763820cf2bbe1a8d8c72de95a94 100644 (file)
@@ -20,11 +20,7 @@ if os.environ.get('ARVADOS_BUILDING_VERSION', False):
 else:
     # On dev releases, arvados-python-client may have a different timestamp
     pysdk_dep = "<={}".format(version)
-
-short_tests_only = False
-if '--short-tests-only' in sys.argv:
-    short_tests_only = True
-    sys.argv.remove('--short-tests-only')
+short_tests_only = arvados_version.short_tests_only()
 
 setup(name='arvados_fuse',
       version=version,