From 1a5992432135d5bf268b49f2171122f8af6a06e4 Mon Sep 17 00:00:00 2001 From: bryancort Date: Mon, 12 Jan 2015 16:40:15 -0500 Subject: [PATCH 1/3] Create hook-psychopy.py Hook for the popular PsychoPy library for implementing psychological and psychophysics experiments in python. --- PyInstaller/hooks/hook-psychopy.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 PyInstaller/hooks/hook-psychopy.py diff --git a/PyInstaller/hooks/hook-psychopy.py b/PyInstaller/hooks/hook-psychopy.py new file mode 100644 index 0000000000..b2e0d1a083 --- /dev/null +++ b/PyInstaller/hooks/hook-psychopy.py @@ -0,0 +1,2 @@ +from PyInstaller.hooks import hookutils +datas = hookutils.collect_data_files('psychopy') From 93282d7e6843ad3d9cf6690e4517dec2feb7d631 Mon Sep 17 00:00:00 2001 From: bryancort Date: Tue, 13 Jan 2015 16:11:15 -0500 Subject: [PATCH 2/3] Update hook-psychopy.py Hook for the popular PsychoPy library for psychological and psychophysics experiments in python. Tested on Windows 7 64bit with python 2.7.6 and PsychoPy 1.81.03 --- PyInstaller/hooks/hook-psychopy.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PyInstaller/hooks/hook-psychopy.py b/PyInstaller/hooks/hook-psychopy.py index b2e0d1a083..36f35a4ee8 100644 --- a/PyInstaller/hooks/hook-psychopy.py +++ b/PyInstaller/hooks/hook-psychopy.py @@ -1,2 +1,11 @@ +#----------------------------------------------------------------------------- +# Copyright (c) 2013, PyInstaller Development Team. +# +# Distributed under the terms of the GNU General Public License with exception +# for distributing bootloader. +# +# The full license is in the file COPYING.txt, distributed with this software. +#----------------------------------------------------------------------------- + from PyInstaller.hooks import hookutils datas = hookutils.collect_data_files('psychopy') From 2056c384b8397a7495a62363387d4e602c63eae0 Mon Sep 17 00:00:00 2001 From: bryancort Date: Wed, 14 Jan 2015 10:51:44 -0500 Subject: [PATCH 3/3] Updated with testing environment --- PyInstaller/hooks/hook-psychopy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PyInstaller/hooks/hook-psychopy.py b/PyInstaller/hooks/hook-psychopy.py index 36f35a4ee8..abbb65be80 100644 --- a/PyInstaller/hooks/hook-psychopy.py +++ b/PyInstaller/hooks/hook-psychopy.py @@ -7,5 +7,7 @@ # The full license is in the file COPYING.txt, distributed with this software. #----------------------------------------------------------------------------- +#Tested on Windows 7 64bit with python 2.7.6 and PsychoPy 1.81.03 + from PyInstaller.hooks import hookutils datas = hookutils.collect_data_files('psychopy')