Don't use wsme.release anymore
This commit is contained in:
parent
c8b0b3b7a6
commit
3080528319
@ -47,11 +47,13 @@ copyright = u'2011, Christophe de Vienne'
|
|||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
import wsme.release
|
import pkg_resources
|
||||||
|
dist = pkg_resources.require('WSME')[0]
|
||||||
|
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '.'.join(wsme.release.version.split('.')[:2])
|
version = '.'.join(dist.version[:2])
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = wsme.release.version
|
release = dist.version
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user