get_py2exe_datafiles () #define which files you want to copy for data_files for files in os. exe file progName = 'MultipleSchizophrenia.py' #Initialize Holder Files preference_files = app_files = my_data_files = matplotlib. # Created 8-09-2011 # Ricky Savjani # (savjani at bcm.edu) #import necessary packages from re import setup import os, matplotlib import py2exe #the name of your. A similar process might be possible on macOS using py2app - if you’ve done that then feel free to contribute the necessary script or instructions. Nonetheless, it is technically possible to create exe files on Windows, and Ricky Savjani (savjani at bcm.edu) has kindly provided the following instructions for how to do it. (You don’t send a copy of Microsoft Word when you send someone a document - you expect the reader to install it themself and open the document). A better approach in general is to get your collaborator to install the Standalone PsychoPy on their own machine, open your script and press run. In general this is not advisable - the resulting bundle of files (single file on macOS) will be on the order of 100Mb and will not provide the end user with any of the options that they might need to control the task (for example, Monitor Center won’t be provided so they can’t to calibrate their monitor). Usually this is because they have a collaborator and want to just send them the experiment. Building an application from your script ¶Ī lot of people ask how they can build a standalone application from their Python script.
0 Comments
Leave a Reply. |