Commit 9d8ab807 authored by Owen Arnold's avatar Owen Arnold
Browse files

Update install_wfm_stitching.py helper

parent 6fdbdc56
......@@ -64,12 +64,13 @@ def _do_wfm_stitching_uninstall(python):
if __name__ == "__main__":
parser = ArgumentParser(description='Install WFM package http://git.esss.dk/wedel/wfm_sitching')
parser.add_argument('-v', '--version', default='v0.1.0',
help='Specify the version you wish to use i.e. v0.1.2.'
'Defaults to version v0.1.0. Version must match git tag version.')
parser.add_argument('-v', '--version', default=None,
help='Specify the version you wish to use i.e. v0.1.2.')
parser.add_argument('-u', '--uninstall', action='store_true', default=False, help='uninstall any existing wfm-stitching package')
args = parser.parse_args()
interpreter = os.path.join(os.path.dirname(sys.executable), 'python')
interpreter = sys.executable
if sys.version_info < (3, 5):
raise RuntimeError("Python version too old. Needs to be >= 3.5, but found {}".format(repr(sys.version_info)))
if args.uninstall:
if args.version:
print('Warning: version argument is ignored during uninstall')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment