Browse files

Merge branch '1.9.X' into develop

  • Loading branch information...
2 parents 2e79ea7 + 86eae52 commit dca409711022de8729f822cd11bfe2425c634b8e @jezdez jezdez committed Mar 7, 2013
@@ -1,6 +1,6 @@
Copyright (c) 2007 Ian Bicking and Contributors
Copyright (c) 2009 Ian Bicking, The Open Planning Project
-Copyright (c) 2011-2012 The virtualenv developers
+Copyright (c) 2011-2013 The virtualenv developers
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -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.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.10.dev1' #set explicity due to RTD sys.path issues
+ 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:
@@ -2290,9 +2290,9 @@ def convert(s):
##file deactivate.bat
DEACTIVATE_BAT = convert("""
##file activate.ps1
Binary file not shown.
Binary file not shown.

0 comments on commit dca4097

Please sign in to comment.