Permalink
Browse files

Bumped version up to 1.9.

  • Loading branch information...
1 parent 34ace01 commit 86eae5277f2ff07b0ef05e2aeeabf7ba22ba7b8c @jezdez jezdez committed Mar 7, 2013
Showing with 11 additions and 3 deletions.
  1. +10 −2 docs/conf.py
  2. +1 −1 virtualenv.py
View
12 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 @@
# 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:
View
2 virtualenv.py
@@ -4,7 +4,7 @@
# If you change the version here, change it in setup.py
# and docs/conf.py as well.
-__version__ = "1.9rc2" # following best practices
+__version__ = "1.9" # following best practices
virtualenv_version = __version__ # legacy, again
import base64

0 comments on commit 86eae52

Please sign in to comment.