Changes

Jump to: navigation, search

Development using Eclipse and Pydev

35 bytes removed, 05:49, 28 September 2019
no edit summary
[[Category:Developers/General]]
Prerequisites: a JRE (Java Runtime Environment) has to be installed.
To use Eclipse you'll need two folders. One # A folder where you install Eclipse, the other one will be the workspace. E.g., ~/devel/eclipse_installs/ and # A folder that will be the workspace. E.g., ~/devel/eclipse_workspaces/gramps
Download an Eclipse package from [httphttps://www.eclipse.org/downloads/ Eclipse.org]. Unzip the file into ~/devel/eclipse_installs/ and run the eclipse binary in ~/devel/eclipse_installs/eclipse when asked for a workspace, enter ~/devel/eclipse_workspaces/gramps
== Installing Pydev and Pylint==
Get pydev from the [http://www.pydev.org/download.html pydev download site] or use the [http://pydev.org/updates pydev update site].
Follow the [http://www.pydev.org/manual_101_install.html installation tutorial]
On my Ubuntu, the python interpreter can be found at /usr/bin/python sudo apt-get install pylintGo to: window > preferences > pydev > pylint tick use pylint and enter /usr/bin/pylint as the pylint path. == Installing EGit ==Follow the [http://www.eclipse.org/egit/download/ download instructions] to install the [http://www.eclipse.org/egit/ EGit] plugin. Open the Git perspective and add a repository. ssh://<username>@git.code.sf.net/p/gramps/source
sudo apt-get install pylintGo to: window > preferences > Select Checkout project using new project wizard. Select pydev > pylint tick use pylint and enter /usr/bin/pylint as the pylint pathproject wizard.
== Installing Subversion See also==Follow the * [http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA download instructions[Running a development version of Gramps]] to install the Subclipse plugin.
Open the subversion perspective and add a repository. https[[Category:Developers//gramps.svn.sourceforge.net/svnroot/gramps/trunk for working on the trunk code. Select Checkout project using new project wizard. Select pydev project wizard.General]]

Navigation menu