Use lz4.__version__ in conf.py
@@ -57,9 +57,9 @@ copyright = u'2016, python-lz4 developers'
#
# The short X.Y version.
import lz4
-version = lz4.version.version
+version = lz4.__version__
# The full version, including alpha/beta/rc tags.
-release = lz4.version.version
+release = lz4.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
