--- a/scripts/install.py Mon Oct 19 20:02:01 2020 +0200 +++ b/scripts/install.py Wed Oct 21 20:00:57 2020 +0200 @@ -22,6 +22,7 @@ import io import json import shlex +import datetime # Define the globals. progName = None @@ -1308,6 +1309,7 @@ """ global installInfo, cfg + installDateTime = datetime.datetime.now(tz=None) try: installInfo["sudo"] = os.getuid() == 0 except AttributeError: @@ -1319,11 +1321,16 @@ installInfo["virtualenv"] = installInfo["eric"].startswith( os.path.expanduser("~")) installInfo["installed"] = True + installInfo["installed_on"] = installDateTime.strftime( + "%Y-%m-%d %H:%M:%S") installInfo["guessed"] = False installInfo["edited"] = False installInfo["pip"] = False installInfo["remarks"] = "" - + installInfo["exe_edited"] = False + installInfo["argv_edited"] = False + installInfo["eric_edited"] = False + # TODO: add current path (os.getcwd()) def pipInstall(packageName, message): """