Package psychopy
[frames] | no frames]

Source Code for Package psychopy

 1  # Part of the PsychoPy library 
 2  # Copyright (C) 2010 Jonathan Peirce 
 3  # Distributed under the terms of the GNU General Public License (GPL). 
 4   
 5  #version info for PsychoPy 
 6  #This file is automatically generated during build (do not edit directly). 
 7  __version__='1.62.02' 
 8  __license__='GNU GPLv3 (or more recent equivalent)' 
 9  __author__='Jonathan Peirce' 
10  __author_email__='jon@peirce.org.uk' 
11  __maintainer_email__='psychopy-dev@googlegroups.com' 
12  __url__='http://www.psychopy.org' 
13  __downloadUrl__='http://code.google.com/p/psychopy/downloads' 
14  __build_platform__='n/a' 
15  __git_sha__='n/a' 
16  if __git_sha__=='n/a': 
17      import subprocess 
18      #see if we're in a git repo and fetch from there 
19      repo_commit=False 
20      proc = subprocess.Popen('git rev-parse --short HEAD', 
21                              stdout=subprocess.PIPE, 
22                              stderr=subprocess.PIPE, 
23                              cwd='.', shell=True) 
24      repo_commit, _ = proc.communicate() 
25      del proc#to get rid of the background process 
26      if repo_commit: 
27          __git_sha__=repo_commit.strip()#remove final linefeed 
28   
29  __all__ = ["gui", "misc", "visual", "core", "event", "data", "filters"] 
30