Thomas this is what I am doing: 1. I create a folder name python35 2. I install the the python program into the python35 folder 3. I created a lotto program and put it in the python35 folder 4. I created a script and name it setup.py and put it in the python35 folder 5. Everything I did, I put it into the python35 folder 6. I got in the cmd and type cd and c:\python35 7. Then I type python setup.py built at the c:\python prompt 8. I am not getting the built files 9. I hate to give up 10. Can you go over these steps and see what I am doing wrong PLEASE
#setup script(Made with cx_Freeze) import sys from cx_Freeze import setup, Executable base = None if sys.platform == 'win32' : base = 'Win32GUI' opts = {'include_files' : ['logo.gif'], 'includes' : ['re'] } setup( name = 'Lotto' , version = '1.0' , description = 'Cash 5 Lottery Number Picker' , author = 'Mike McGrath' , options = { 'build_exe' : opts } , executables = [ Executable( 'lotto.py' , base = base )]) From: Thomas Kluyver Sent: Saturday, August 20, 2016 1:34 PM To: primary discussion list for use and development of cx_Freeze Subject: Re: [cx-freeze-users] can I get some HELPS! I am getting a error on the option line. On 19 August 2016 at 23:58, Chester Guinyard <cguiny...@pbtcomm.net> wrote: This is what I am not sure about is alongside the application Do it mean put the lotto application program and the Freeze script program in my lotto C:\python folder and run the script? 'Alongside' means the program you're interested in and the setup.py script should be in the same folder. It doesn't matter what folder that is. If you're new to Python programming, I'd recommend that you spend a while getting comfortable with the files and the command line, and the setup.py files used in regular Python package, before you try to use cx_Freeze. 'Freezing' a Python program is a rather fiddly technique, and launching straight into it as a beginner is more likely to lead to frustration than to produce useful outcomes. It's a weak point of Python that distributing applications is so difficult, and there ideas being worked on to make it better, but at the moment it's a struggle for new users. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ -------------------------------------------------------------------------------- _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
------------------------------------------------------------------------------
_______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users