Search code examples
pythondllcomversionpy2exe

Py2exe version number for com dll


Is there are a way to add to the dll which py2exe makes a version tag? If I generate a new dll I need to see which function/clases are already implemented and I need to see if there are are already a newer dll that is tagged by a date or a version number (by myself created VN for example).


Solution

  • Use version parameter as in:

    setup(
        windows = [
                  {'script': PyAppName,
                   'icon_resources':[(0, Icon)],
                   'dest_base' : Exe[:-4],
                   'version' : AppVers,
                   'company_name' : "JoaquinAbian",
                   'copyright' : "No Copyrights",
                   'name' : AppName 
                  }
                  ],
    

    where AppVers is your program version

    enter image description here