def _clone(requestedVersion):
 assert (not os.path.exists(VERSIONSDIR)), 'use `git fetch` not `git clone`'
 print(_translate('Downloading the PsychoPy Library from Github (may take a while)'))
 cmd = ('git clone -o github https://github.com/psychopy/versions ' + VER_SUBDIR)
 print(cmd)
 subprocess.check_output(cmd.split(), cwd=USERDIR)
 return _checkout(requestedVersion)

def _clone ( requestedVersion ) : assert ( not os . path . exists ( VERSIONSDIR ) ) , 'use `git fetch` not `git clone`' print ( _translate ( 'Downloading the PsychoPy Library from Github (may take a while)' ) ) cmd = ( 'git clone -o github https://github.com/psychopy/versions ' + VER_SUBDIR ) print ( cmd ) subprocess . check_output ( cmd . split ( ) , cwd = USERDIR ) return _checkout ( requestedVersion )
download all versions .