giving up on using git revision in version number :( latest issue is when installing a package that calls git to compute a version number, but cwd is some other git project, you get the wrong thing

This commit is contained in:
Noah Levitt 2015-09-24 00:17:33 +00:00
parent 9699a40645
commit 8c69ca3b39
5 changed files with 5 additions and 29 deletions

View file

@ -22,7 +22,7 @@ arg_parser.add_argument('--enable-warcprox-features', dest='enable_warcprox_feat
arg_parser.add_argument("-v", "--verbose", dest="log_level",
action="store_const", default=logging.INFO, const=logging.DEBUG)
arg_parser.add_argument("--version", action="version",
version="brozzler {} - {}".format(brozzler.version, os.path.basename(__file__)))
version="brozzler {} - {}".format(brozzler.__version__, os.path.basename(__file__)))
args = arg_parser.parse_args(args=sys.argv[1:])
logging.basicConfig(stream=sys.stdout, level=args.log_level,