The compilation procedure uses for each python script the versionscript.txt file to specify the version. Instead of modifying each file "a la mano" I proposed to make this script.
This is intended for each file (*.txt) in the Patent2Net directory. Each of them contains actually the lines:
filevers=(2, day.month.year)
StringStruct(u'ProductVersion', u'2, day.month.year')])
Actually fileversion is fixed to u'2.1.1.15', productversion in 2. 12.12.15 (the first '2' means P2N v2), etc... and this is false :-)...
a script that import date, will be able to catch the current 'today=datetime.date.today()' ... and today.month is the the month, today.year the good year...
Setting parameter to the .txt file will allow you to fix these file between each compilation using this new script...
E-mail discution:
The compilation procedure uses for each python script the versionscript.txt file to specify the version. Instead of modifying each file "a la mano" I proposed to make this script. This is intended for each file (*.txt) in the Patent2Net directory. Each of them contains actually the lines: filevers=(2, day.month.year) StringStruct(u'ProductVersion', u'2, day.month.year')]) Actually fileversion is fixed to u'2.1.1.15', productversion in 2. 12.12.15 (the first '2' means P2N v2), etc... and this is false :-)...
a script that import date, will be able to catch the current 'today=datetime.date.today()' ... and today.month is the the month, today.year the good year... Setting parameter to the .txt file will allow you to fix these file between each compilation using this new script...