.. Copyright (C) ALbert Mietus, SoftwareBeterMaken.nl; . Part of Pathways project FIXED BUGS ========== .. _BUG_calc_version: Version calculation (solved) ---------------------------- With the current setup, the version-info in calculated. *Both* during creation of the package, as well when installing. The latter is *WRONG*. Aside of the FileNotFoundError; the ‘devYYYYMMDD’ is not correct (build- vs install-time) Error: ^^^^^^ >>> C:\Pathways\pathways_framework>pip install -U C:\Pathways\pathways_framework\. |pip install -U C:\Pathways\pathways_framework\. |Processing c:\pathways\pathways_framework | Complete output from command python setup.py egg_info: | Traceback (most recent call last): | File "", line 20, in | File "C:\Users\postemer\AppData\Local\Temp\pip-_3eaouq2-build\setup.py", line 15, in | (Major, Minor, Maintenance) = (int(n) for n in open("__version__").readlines()[0].split('.')[:3]) | (etc) Solution ^^^^^^^^ Pre-calculate the (all) version-info, add the file in the package; when relevant. See std-docs. And extent to use that info also for the filename if the Pathways-all file. Secondly, add version-info into pathways (also see Feature: :ref:`FEATURE_version_info`)