--- a/eric7/PipInterface/Pip.py Mon May 02 15:53:05 2022 +0200 +++ b/eric7/PipInterface/Pip.py Wed Jun 01 13:48:49 2022 +0200 @@ -203,16 +203,9 @@ @return interpreter path @rtype str """ - if venvName == self.getProjectEnvironmentString(): - venvName = ( - ericApp().getObject("Project") - .getDebugProperty("VIRTUALENV") - ) - if not venvName: - # fall back to interpreter used to run eric7 - return Globals.getPythonExecutable() - interpreter = ( + ericApp().getObject("Project").getProjectInterpreter() + if venvName == self.getProjectEnvironmentString() else ericApp().getObject("VirtualEnvManager") .getVirtualenvInterpreter(venvName) ) @@ -1011,6 +1004,9 @@ "--from", "mixed", "--with-system", + "--with-authors", + "--with-urls", + "--with-description", ] if localPackages: args.append("--local-only")