165 |
165 |
166 self.__menu.addAction( |
166 self.__menu.addAction( |
167 EricPixmapCache.getIcon("virtualenv"), |
167 EricPixmapCache.getIcon("virtualenv"), |
168 self.tr("Virtual Environments"), |
168 self.tr("Virtual Environments"), |
169 self.__startVirtualenvManager, |
169 self.__startVirtualenvManager, |
|
170 ) |
|
171 self.__menu.addAction( |
|
172 EricPixmapCache.getIcon("pypi"), |
|
173 self.tr("PyPI Package Management"), |
|
174 self.__startPip, |
170 ) |
175 ) |
171 self.__menu.addSeparator() |
176 self.__menu.addSeparator() |
172 |
177 |
173 self.__menu.addAction( |
178 self.__menu.addAction( |
174 EricPixmapCache.getIcon("configure"), |
179 EricPixmapCache.getIcon("configure"), |
367 def __startVirtualenvManager(self): |
372 def __startVirtualenvManager(self): |
368 """ |
373 """ |
369 Private slot to start the eric virtual environments manager window. |
374 Private slot to start the eric virtual environments manager window. |
370 """ |
375 """ |
371 self.__startProc("eric7_virtualenv.py") |
376 self.__startProc("eric7_virtualenv.py") |
|
377 |
|
378 def __startPip(self): |
|
379 """ |
|
380 Private slot to start the eric package manager (PyPI) window. |
|
381 """ |
|
382 self.__startProc("eric7_pip.py") |
372 |
383 |
373 def __startWebBrowser(self): |
384 def __startWebBrowser(self): |
374 """ |
385 """ |
375 Private slot to start the eric web browser. |
386 Private slot to start the eric web browser. |
376 """ |
387 """ |