Changes between Version 11 and Version 12 of Win32Build


Ignore:
Timestamp:
Mar 16, 2012 12:09:56 PM (13 years ago)
Author:
robert-whitley
Comment:

IDE instructions

Legend:

Unmodified
Added
Removed
Modified
  • Win32Build

    v11 v12  
    115115ImportError: No module named sans.guiframe 
    116116}}} 
     117 
     118== Set up IDE (Optional) == 
     119- This section is optional, if you want to use an IDE like [http://www.eclipse.org Eclipse] and not a text editor like [http://www.vim.org Vim] then carry on reading. 
     120 
     121- This section will explain how to set up SansView in Eclipse because it's the most commonly used open-source IDE. Get a copy and install it on your computer. [http://www.eclipse.org/downloads/] 
     122 
     123- Now you will need to download the !PyDev plugin for Eclipse in order to get the python to work. [https://sourceforge.net/projects/pydev/files/] 
     124 
     125- Once these are installed load up Eclipse. It will ask for a workspace directory to store the project files in, you can choose anywhere. 
     126 
     127- Make sure that you are in PyDev mode. You can see this in the top right corner of Eclipse. 
     128 
     129- Setup a new project. File->New->PyDev Project. Name it something sensible like SansView Project. Leave all options as default but make sure the option "Create 'src' folder and add it to the PYTHONPATH" is selected. 
     130 
     131- Then, you have to go to File->Import, and choose the File System option: 
     132 
     133[[Image(http://1.bp.blogspot.com/_SDci0Pf3tzU/SVokhZBDNfI/AAAAAAAAEbg/_2sVRjA-PCM/s400/Import+Eclipse.jpg)]] 
     134 
     135- Select the directory where your files are located and the input Folder, and click finish. 
     136 
     137- Finally add the directory where the external packages are stored to the PyDev settings. Window->Preferences->PyDev->Interpreter-Python->Libraries->New Folder. 
     138 
     139- Open sansview.py and hit the run button. 
     140 
     141[[Image(http://i.imgur.com/DTu5A.png, 800px)]] 
     142 
     143- Done!