- tagger = gittaggers.TagBuildWithCommitDateAndSha1
- sys.argv.remove('--sha1-tag')
-else:
- try:
- import gittaggers
- tagger = gittaggers.TagBuildWithCommitDate
- except ImportError:
- tagger = egg_info
+ tagger = gittaggers.EggInfoFromGit
+except ImportError:
+ tagger = egg_info_cmd.egg_info
+
+short_tests_only = False
+if '--short-tests-only' in sys.argv:
+ short_tests_only = True
+ sys.argv.remove('--short-tests-only')