mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-23 13:10:18 +08:00
Correctly determine version number from module.
This commit is contained in:
@@ -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