kopia lustrzana https://github.com/collective/icalendar
[docs] get current version from pkg_resources
rodzic
1e0feb5377
commit
aee5822e5b
|
@ -11,7 +11,7 @@
|
|||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import sys, os
|
||||
import sys, os, pkg_resources
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
|
@ -48,9 +48,9 @@ copyright = u'2011, MaxM'
|
|||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '3.0'
|
||||
version = pkg_resources.get_distribution('icalendar').version
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '3.0dev'
|
||||
release = version
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
Ładowanie…
Reference in New Issue