From: Joe C. <coo...@ly...> - 2004-07-05 21:57:27
|
To anyone who can help: I have been trying to build a "stand alone" .exe file for a program I have written using PythonCardPrototype. In following the instructions from "Building 'standalone' PythonCard Applications" in "PythonCard Documentation" all works fine until I get to the following section. -------------------------------------------------------------------------------- (The specification, or 'spec', file is the information used by McMillan Installer to compile and build the standalone version of your application. It's basically a list of the Python source files, Pythoncard resource files and any other stuff that your Pythoncard app needs in order to run properly. To generate the initial spec file, type these commands in a Command Prompt window: cd C:\Python23\Installer Makespec.py --icon ..\projects\pimp\pixmaps\pimp.ico --out ..\projects\pimp ..\projects\pimp\pimp.py You should replace pimp.py with the name of the Python script that corresponds) -------------------------------------------------------------------------------- I am using Windows 98 and my Python is in drive D (the full path to the project is "D:\Python23\projects\my_program\my_program.py") so I enter: cd D:\Python23\Installer Makespec.py --icon ..\projects\my_program\my_program.ico --out ..\projects\my_program ..\projects\my_program\my_program.py Then I get an Invalid syntax error message: Makespec.py --icon ..\projects\my_program\my_program.ico ^ --out ..\projects\my_program ..\projects\my_program\my_program.py I suspect the problem is in file path differences between Windows and other OS's. I have tried "\\" to replace "\" but to no avail. I could use any help in resolving this problem. -- _______________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 |