~ubuntu-branches/ubuntu/karmic/calibre/karmic

« back to all changes in this revision

Viewing changes to session.vim

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-04-05 18:42:16 UTC
  • mfrom: (1.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090405184216-cyb0x4edrwjcaw33
Tags: 0.5.9+dfsg-1
* New upstream release. (Closes: #525339)
* manpages-installation.patch: Encode generated manpages as UTF-8, to avoid
  UnicodeDecodeErrors when writing them out to files.
* debian/control: Demote calibre dependency of calibre-bin to Recommends:,
  which is sufficient and avoids a circular dependency. (Closes: #522059)
* debian/control: Drop build dependency help2man, current version does not
  need it any more.
* debian/control: Drop versioned build dependency on python-mechanize,
  current sid version is enough.
* debian/rules: Copy "setup.py install" command from cdbs'
  python-distutils.mk, since the current version broke this. This is a
  hackish workaround until #525436 gets fixed.
* debian/rules: Drop using $(wildcard ), use `ls`; the former does not work
  any more.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
" Project wide builtins
 
2
let g:pyflakes_builtins += ["dynamic_property", "__"]
 
3
 
 
4
python << EOFPY
 
5
import os
 
6
 
 
7
import vipy
 
8
 
 
9
source_file = vipy.vipy.eval('expand("<sfile>")')
 
10
project_dir = os.path.dirname(source_file)
 
11
src_dir = os.path.abspath(os.path.join(project_dir, 'src'))
 
12
base_dir = os.path.join(src_dir, 'calibre')
 
13
 
 
14
vipy.session.initialize(project_name='calibre', src_dir=src_dir,
 
15
            project_dir=project_dir, base_dir=base_dir)
 
16
EOFPY