Mercurial > hgrepos > Python > libs > ConfigMix
comparison doc/conf.py @ 57:a3f64253de70
Read the version and release information from the "configmix" package
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Wed, 28 Feb 2018 01:05:41 +0100 |
| parents | 51a8fa011659 |
| children | 6c5e44dc74db |
comparison
equal
deleted
inserted
replaced
| 56:1f11672c4615 | 57:a3f64253de70 |
|---|---|
| 14 # | 14 # |
| 15 import os | 15 import os |
| 16 import sys | 16 import sys |
| 17 sys.path.insert(0, os.path.dirname(os.path.abspath('.'))) | 17 sys.path.insert(0, os.path.dirname(os.path.abspath('.'))) |
| 18 | 18 |
| 19 import configmix | |
| 20 | |
| 19 | 21 |
| 20 # -- Project information ----------------------------------------------------- | 22 # -- Project information ----------------------------------------------------- |
| 21 | 23 |
| 22 project = 'ConfigMix' | 24 project = 'ConfigMix' |
| 23 copyright = '2015–2018, Franz Glasner' | 25 copyright = '2015–2018, Franz Glasner' |
| 24 author = 'Franz Glasner' | 26 author = 'Franz Glasner' |
| 25 | 27 |
| 26 # The short X.Y version | 28 # The short X.Y version |
| 27 version = '' | 29 version = '.'.join(configmix.__version__.split('.')[:2]) |
| 28 # The full version, including alpha/beta/rc tags | 30 # The full version, including alpha/beta/rc tags |
| 29 release = '0.5' | 31 release = configmix.__version__ |
| 30 | 32 |
| 31 | 33 |
| 32 # -- General configuration --------------------------------------------------- | 34 # -- General configuration --------------------------------------------------- |
| 33 | 35 |
| 34 # If your documentation needs a minimal Sphinx version, state it here. | 36 # If your documentation needs a minimal Sphinx version, state it here. |
