Open main menu

Gramps β

Changes

Development using Eclipse and Pydev

246 bytes added, 01:45, 26 September 2025
no edit summary
[[Category:Developers/General]]{{man note|Prerequisites: a |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., /home/acraphae<code>~/devel/eclipse_installs/ and </home/acraphaecode>* A folder that will be the workspace. E.g., <code>~/devel/eclipse_workspaces/gramps</code>
Download an Eclipse package from [httphttps://www.eclipse.org/downloads/ Eclipse.org]. Unzip the file into /home/acraphae<code>~/devel/eclipse_installs/ </code> and run the eclipse binary in /home/acraphae<code>~/devel/eclipse_installs/eclipse </code> when asked for a workspace, enter /home/acraphae<code>~/devel/eclipse_workspaces/gramps</code>
== Installing Pydev and Pylint==
Get pydev from the [http://www.pydev.org/download.html pydev dowload download site] or use . Follow the [http://www.pydev.org/updates manual_101_install.html installation tutorial] On Ubuntu, the python interpreter can be found at <code>/usr/bin/python</code> <code>sudo apt-get install pylint</code> Go to: {{man menu|window > preferences > pydev update site> pylint}} tick {{man label|[ ] Use pylint}} and enter <code>/usr/bin/pylint</code> 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.
Follow the instructions on the * Github:** See [httphttps://wwwwiki.fabiozeclipse.comorg/EGit/pydevUser_Guide#GitHub_Tutorial EGit/manual_101_install.html pydev extensions siteUser_Guide#GitHub_Tutorial].
On my Ubuntu, the python interpreter can be found at * Sourceforge( no longer used):** <code>ssh:/usr/bin<username>@git.code.sf.net/pythonp/gramps/source</code>
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 guide on http://subclipse.tigris.org/install.html to install the Subclipse plugin.* [[Running a development version of Gramps]]
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]]
15,091
edits