gytha, building on windows |
| quozl@us.netrek.org
| up |
|
Setting up a python development environment in MS Windows for gytha - a netrek client
by Zachary Uram.
(Copied from revision 1.3 dated 4th November 2010 and processed with txt2html)
"Edit the system environment variables" and under the System Properties dialog box click on the Advanced tab then select Environmental Variables, and look under the System variables section, scroll down until you see the word Path then select it with your mouse and click Edit. Now you will see a dialog box Edit System Variable, go to the section marked Variable value: and append the Python installation directory PATH to the line you see there, there are no spaces, and make sure you add a ";" after the PATH you add.
So for example my Python installation directory is C:\Python26 and the existing Path I see is C:\Perl64\site\bin I would change it to C:\Perl64\site\bin;C:\Python26; When you are finished click OK, OK and OK. Now you can open a command prompt window, in Windows 7 press your Windows system key to bring up the run dialog area and type "cmd" then hit ENTER, and invoke the Python interpreter from any directory by typing "python" and hitting ENTER/RETURN.
then hit ENTER. In your Windows File Explorer go to the directory where you unpacked the netrek-client-pygame source files. Go to the address bar and select "Copy address". Now go to the command prompt window and enter: "CD " then click your right mouse button and select Paste, now hit ENTER. This will paste the address of the netrek-client-pygame directory.
It also creates a "build" subdirectory, but you don't have to worry about that.
For 32-bit OSes (x64): http://www.microsoft.com/downloads/en/details.aspx?familyid=bd2a6171-e2d6-4230-b809-9a8d7548c1b6&displaylang=en For 64-bit OSes (x86): http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
http://gytha.oggthebase.org/files/gytha.iss http://gytha.oggthebase.org/files/gytha.ico Save them in your py2exe build directory - such as "C:\Users\Administrator\Desktop\Python\Sandbox\netrek-client-pygame"