mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
Correctly determine version number from module.
This commit is contained in:
1 parent
3901f74e00
commit
1354195e6c
1 file changed
+1
-1
@@ -35,7 +35,7 @@ if __name__ == '__main__':
|
||||
# are not (re)generated. This avoids automatic generation of documentation
|
||||
# for older or newer versions if such versions are installed on the system.
|
||||
|
||||
installed_version = V(module.version.version)
|
||||
installed_version = V(module.__version__)
|
||||
|
||||
setup_lines = open('../setup.py').readlines()
|
||||
version = 'vUndefined'
|
||||
|
||||
Reference in new issue
Block a user