Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.27 KB

DEVELOPERS.md

File metadata and controls

60 lines (38 loc) · 1.27 KB

Development

Prerequisites (Debian):

% sudo apt-get install python-gi libwnck-3-* gir1.2-wnck-3.0

Prerequisites (OpenBSD):

% sudo pkg_add py-gobject libwnck

Virtualenv:

% mkvirtualenv --system-site-packages wim

Install dependencies:

% pip install -r requirements.txt

Build program locally:

% python setup.py develop

Run it:

% wim-gtk

Install it as a user:

% python setup.py install --user

Style Guide

  • PEP8

  • Imports should be divide into 3 sections with a line break in between:

  1. Python imports
  2. Third Party library imports
  3. Local imports (always proceded by a . or ..)
  • No space should be left btw class declarions and the first method

Resources