Plugins/UiExtensionPlugins/PipInterface/Pip.py

changeset 6301
f488d2cc5841
parent 6294
58f82c179d2b
child 6327
a1716d9210f4
--- a/Plugins/UiExtensionPlugins/PipInterface/Pip.py	Sun May 20 14:17:45 2018 +0200
+++ b/Plugins/UiExtensionPlugins/PipInterface/Pip.py	Mon May 21 16:53:11 2018 +0200
@@ -30,6 +30,8 @@
 import Globals
 
 
+# TODO: 1) change all uses of pip to python3 -m pip
+# TODO: 2) support --user for install, install --upgrade and list
 class Pip(QObject):
     """
     Class implementing the pip GUI logic.
@@ -876,6 +878,7 @@
         
         return abort
     
+    # TODO: add parameter userSite=False; arg: --user
     def upgradePackages(self, packages, cmd=""):
         """
         Public method to upgrade the given list of packages.
@@ -914,6 +917,7 @@
             if packages:
                 self.upgradePackages(packages, cmd=command)
     
+    # TODO: add parameter userSite=False; arg: --user
     def installPackages(self, packages, cmd=""):
         """
         Public method to install the given list of packages.

eric ide

mercurial