1) Download the latest Eclipse IDE (Galileo at the time of this post) and extract it to the folder of your choice.
http://www.eclipse.org/downloads/
2) Start Eclipse by running eclipse.exe in the folder. Note: there is no installation for eclipse but you must have the Java runtime installed.
3) Install PyDev by clicking on Help / Install New Software and entering the following URL then clicking the Add button:
http://pydev.org/updates
Select all of the options and hit next.
It should prompt you to accept a license agreement. Continue through the wizard and click No when it asks you if you want to restart.
4) Install the correct mercurial version for your operating system. Next install MercurialEclipse. It adds mercurial support directly to Eclipse. Go back to Help / Install New Software and enter the url:
http://cbes.javaforge.com/update
Continue through the wizard and click Yes when it asks you to restart this time.
5) Create a new project in Eclipse by going to File / New / Project / Mercurial / Clone Repository using Mercurial and enter the url:
http://code.google.com/p/web2py/source/checkout
Enter 'web2py' in the Clone Directory Name field.
6) Set the interpreter by going to Window / Preferences / PyDev / Interpreter and choosing the path to your Python binary.
7) That's it!. You can start debugging by finding web2py.py in the project tree, right clicking, and selecting Debug As / Python Run. You can also pass arguments to web2py.py by choosing Debug Configuration from the same menu.
Comments (6)
- Login to post
order by: newest oldest upvoted downvoted
PyDev extensions in now open source.
web2py now uses mercurial for source control. Install MercurialEclipse instead of SubClipse.
I think these instructions may be out of date. I tried installing the latest Eclipse/Mercurial/PyDev stuff and thus far, no go -- and Mr. Freeze's generous description above didn't match my screens. It would be great if he could update this slice. Peace.
Awesome guide here
show more comments0
mrfreeze 15 years ago
0
mrfreeze 15 years ago
0
richard 14 years ago
0
mrfreeze 14 years ago
0
jonathan-bejarano-10680 11 years ago
I noticed that URL should be: https://code.google.com/p/web2py/
for the mecurial address