diff options
| author | Jannis Leidel <jannis@leidel.info> | 2013-03-07 22:37:05 +0100 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2013-03-07 22:37:05 +0100 |
| commit | 86eae5277f2ff07b0ef05e2aeeabf7ba22ba7b8c (patch) | |
| tree | b05daf6d6593b46edd4743d63f226fea5c576f81 /docs/conf.py | |
| parent | 34ace01325b1c8eacc40c45d9028d5877f932382 (diff) | |
| download | virtualenv-86eae5277f2ff07b0ef05e2aeeabf7ba22ba7b8c.tar.gz | |
Bumped version up to 1.9.
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index d131742..97bca99 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,10 +11,11 @@ # All configuration values have a default value; values that are commented out # serve to show the default value. +import os import sys # If your extensions are in another directory, add it here. -#sys.path.append('some/directory') +sys.path.insert(0, os.path.abspath(os.pardir)) # General configuration # --------------------- @@ -39,7 +40,14 @@ copyright = '2007-2013, Ian Bicking, The Open Planning Project, The virtualenv d # The default replacements for |version| and |release|, also used in various # other places throughout the built documents. -version = release = '1.9rc2' +try: + from virtualenv import __version__ + # The short X.Y version. + version = '.'.join(__version__.split('.')[:2]) + # The full version, including alpha/beta/rc tags. + release = __version__ +except ImportError: + version = release = 'dev' # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: |
