if (SETUP_DIR / mod_name).is_dir()
)
+def short_tests_only(arglist=sys.argv):
+ try:
+ arglist.remove('--short-tests-only')
+ except ValueError:
+ return False
+ else:
+ return True
+
def git_log_output(path, *args):
return subprocess.check_output(
['git', '-C', str(REPO_PATH),
if (SETUP_DIR / mod_name).is_dir()
)
+def short_tests_only(arglist=sys.argv):
+ try:
+ arglist.remove('--short-tests-only')
+ except ValueError:
+ return False
+ else:
+ return True
+
def git_log_output(path, *args):
return subprocess.check_output(
['git', '-C', str(REPO_PATH),
import arvados_version
version = arvados_version.get_version(SETUP_DIR, "arvados")
-
-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()
class BuildPython(build_py.build_py):
"""Extend setuptools `build_py` to generate API documentation
if (SETUP_DIR / mod_name).is_dir()
)
+def short_tests_only(arglist=sys.argv):
+ try:
+ arglist.remove('--short-tests-only')
+ except ValueError:
+ return False
+ else:
+ return True
+
def git_log_output(path, *args):
return subprocess.check_output(
['git', '-C', str(REPO_PATH),
import arvados_version
version = arvados_version.get_version(SETUP_DIR, "arvados_docker")
-
-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-docker-cleaner",
version=version,
if (SETUP_DIR / mod_name).is_dir()
)
+def short_tests_only(arglist=sys.argv):
+ try:
+ arglist.remove('--short-tests-only')
+ except ValueError:
+ return False
+ else:
+ return True
+
def git_log_output(path, *args):
return subprocess.check_output(
['git', '-C', str(REPO_PATH),
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,
if (SETUP_DIR / mod_name).is_dir()
)
+def short_tests_only(arglist=sys.argv):
+ try:
+ arglist.remove('--short-tests-only')
+ except ValueError:
+ return False
+ else:
+ return True
+
def git_log_output(path, *args):
return subprocess.check_output(
['git', '-C', str(REPO_PATH),
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='crunchstat_summary',
version=version,
if (SETUP_DIR / mod_name).is_dir()
)
+def short_tests_only(arglist=sys.argv):
+ try:
+ arglist.remove('--short-tests-only')
+ except ValueError:
+ return False
+ else:
+ return True
+
def git_log_output(path, *args):
return subprocess.check_output(
['git', '-C', str(REPO_PATH),