mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-03-13 15:49:19 +01:00
build: fix readthedocs build version number
This commit is contained in:
parent
7b662536ba
commit
63f94aa6ec
@ -16,7 +16,7 @@
|
||||
import sys
|
||||
import os
|
||||
sys.path.insert(0, os.path.abspath('..'))
|
||||
import sshuttle.version # NOQA
|
||||
import sshuttle # NOQA
|
||||
|
||||
# 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
|
||||
@ -56,7 +56,7 @@ copyright = '2016, Brian May'
|
||||
# built documents.
|
||||
#
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = sshuttle.version.version
|
||||
release = sshuttle.__version__
|
||||
# The short X.Y version.
|
||||
version = '.'.join(release.split('.')[:2])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user