diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-06 16:53:12 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-06 16:53:12 -0800 |
commit | 2f030efa617950e0d93ce869bae8119304dc8ba4 (patch) | |
tree | 91a446c0245d29cfb51ead0690cc4f66af6a7fee /docs/conf.py | |
parent | 89063f687893417e1e5dac2e854a02d92037b6a0 (diff) | |
parent | 7507a1a7692ec7e26817d93dbcea3911eae3864b (diff) | |
download | cryptography-2f030efa617950e0d93ce869bae8119304dc8ba4.tar.gz cryptography-2f030efa617950e0d93ce869bae8119304dc8ba4.tar.bz2 cryptography-2f030efa617950e0d93ce869bae8119304dc8ba4.zip |
Merge branch 'master' into release-automation
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py index 5dbcdab8..00660314 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -60,10 +60,13 @@ copyright = '2013-2014, Individual Contributors' # |version| and |release|, also used in various other places throughout the # built documents. # -# The short X.Y version. -version = '0.1dev' -# The full version, including alpha/beta/rc tags. -release = '0.1dev' + +base_dir = os.path.join(os.path.dirname(__file__), os.pardir) +about = {} +with open(os.path.join(base_dir, "cryptography", "__about__.py")) as f: + exec(f.read(), about) + +version = release = about["__version__"] # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |