def pip_installer_url(version=None):
version = version or hpcbench.__version__<EOL>version = str(version)<EOL>if '<STR_LIT>' in version:<EOL><INDENT>git_rev = '<STR_LIT>'<EOL>if '<STR_LIT>' in os.environ:<EOL><INDENT>git_rev = version.split('<STR_LIT:+>', <NUM_LIT:1>)[-<NUM_LIT:1>]<EOL>if '<STR_LIT:.>' in git_rev:  <EOL><INDENT>git_rev = git_rev.split('<STR_LIT:.>', <NUM_LIT:1>)[<NUM_LIT:0>]<EOL><DEDENT>git_rev = git_rev[<NUM_LIT:1>:]  <EOL><DEDENT>return '<STR_LIT>'.format(<EOL>project_url='<STR_LIT>',<EOL>git_rev=git_rev or '<STR_LIT>',<EOL>)<EOL><DEDENT>return '<STR_LIT>'.format(version)<EOL>
Get argument to give to ``pip`` to install HPCBench.