--- a/src/eric7/PipInterface/Pip.py Sun Mar 05 17:07:49 2023 +0100 +++ b/src/eric7/PipInterface/Pip.py Mon Mar 06 09:50:18 2023 +0100 @@ -1047,15 +1047,12 @@ ## License handling methods below ####################################################################### - def getLicenses(self, envName, summary=False): + def getLicenses(self, envName): """ Public method to get the licenses per package for a given environment. @param envName name of the environment to get the licenses for @type str - @param summary flag indicating to get a summary listing (defaults to - False) - @type bool (optional) @return list of dictionaries containing the license and version per package @rtype dict @@ -1074,8 +1071,6 @@ "--with-urls", "--with-description", ] - if summary: - args.append("--summary-by-license") proc = QProcess() proc.start(interpreter, args) @@ -1089,16 +1084,3 @@ licenses = json.loads(output) return licenses - - def getLicensesSummary(self, envName): - """ - Public method to get a summary of licenses found in a given - environment. - - @param envName name of the environment to get the licenses summary for - @type str - @return list of dictionaries containing the license and the count of - packages - @rtype dict - """ - return self.getLicenses(envName, summary=True)