Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# This file is part of Patsy 

2# Copyright (C) 2011-2014 Nathaniel Smith <njs@pobox.com> 

3# See file LICENSE.txt for license information. 

4 

5# This file must be kept very simple, because it is consumed from several 

6# places -- it is imported by patsy/__init__.py, execfile'd by setup.py, etc. 

7 

8# We use a simple scheme: 

9# 1.0.0 -> 1.0.0+dev -> 1.1.0 -> 1.1.0+dev 

10# where the +dev versions are never released into the wild, they're just what 

11# we stick into the VCS in between releases. 

12# 

13# This is compatible with PEP 440: 

14# http://legacy.python.org/dev/peps/pep-0440/ 

15# via the use of the "local suffix" "+dev", which is disallowed on index 

16# servers and causes 1.0.0+dev to sort after plain 1.0.0, which is what we 

17# want. (Contrast with the special suffix 1.0.0.dev, which sorts *before* 

18# 1.0.0.) 

19 

20__version__ = "0.5.1"