mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-15 17:50:45 -04:00
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:
parent
9699a40645
commit
8c69ca3b39
5 changed files with 5 additions and 29 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue