[issue23551] IDLE to provide menu options for using PIP

2015-09-05 Thread Terry J. Reedy

Terry J. Reedy added the comment:

This is really needed. A number of recent threads on python-list indicate that 
beginners are having problems with using pip.

Donald, can you answer Saimadhav's questions two messages above?

Saimadhav, can you post whatever you have done so far?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-14 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

The proof of concept is almost ready.
I have a couple of questions to anyone familiar with pip api (and on windows 
for question 2)

1. Is a restart of the interpreter absolutely required for 
pip.operations.freeze.freeze() to reflect changes?(install/uninstall)?

2. (Windows particular) Is a permission similar to sudo required to install 
packages using pip? If not, would it be OK to install only to user home 
director in *nix? Doing so would be allow code to be same across platforms. It 
would also prevent asking the end user where they want the package to be 
installed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-14 Thread Mark Lawrence

Mark Lawrence added the comment:

I think that on Windows you might have to assume that the user has the rights 
to install to site-packages, regardless of where the Python version is 
installed.  Please see https://docs.python.org/dev/using/windows.html for the 
installation screen for 3.5.  If this is not the case Raymond's final 
requirement Change default install directory would not help as the user still 
needs to change the environment to get Python working, or have I missed 
something?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Terry J. Reedy

Terry J. Reedy added the comment:

PS. I am fine with your initial plan.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Terry J. Reedy

Terry J. Reedy added the comment:

On Windows, I think we should consider directly supportting
http://www.lfd.uci.edu/~gohlke/pythonlibs/
Unofficial Windows Binaries for Python Extension Packages
When possible, this has 2.6, 2.7, 3.3, and 3.4 binaries for 32 and 64 bits.

I and others use this site, but beginners would not know to use it.  Since last 
summer, Christoph has switched nearly all files from .zip to pip-installable 
.whl.  The site says to download and point pip to the local downloaded copy, 
but I presume pip can be directly pointed to the site.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Mark Lawrence

Mark Lawrence added the comment:

I really do think we should support Christoph's site.  It has saved me many a 
headache over the years.  For beginners it's also got to be preferable to 
seeing the rather cryptic Unable to find vcvarsall.bat message, plus how many 
of them want to install VS?

--
nosy: +BreamoreBoy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

For the initial version here is what I plan to code:
A single package manager entry in a suitable menu. This would open a dialog 
window
containing options for (inspired from msg236906).
1. Show installed packages(freeze)
This menu would have options to update and remove the said package.
2. Install package 
The user may specify an url, paste a requirements.txt type file or
point to a requirements.txt file.
3. Settings
   Change install directory 

The user will be able to update/revert to a specific version.
Incase of an error, the error message which would be have been printed to 
the terminal will be displayed to the user in a dialog box.

Any changes made to packages would be for the version using which IDLE was 
started.

Also, what do you feel about support from non-PyPI repositories like github? Do 
we intend to support everything pip supports or only a subset of it (say PyPI)?

For this initial version, I would like to keep cloning across versions for 
later version. For now these are the things I would like to get right first.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Peter Otten

Changes by Peter Otten __pete...@web.de:


--
nosy: +peter.otten

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-05 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Yes, this would complement your checker patch from last summer.  It would solve 
the issue of how to tell or help people, especially beginners, install packages 
to run with the checker.

Idea for the package manager: include an option to duplicate a set of installed 
packages from one version to another. A recent SO question (paraphrased): 
Started with 2.7, installed multiple packages, added 3.4, can't use packages.  
HOW???  Current answer, with easily missed details, something like: Packages 
must be installed for each version.  Use PIP to make requirements.txt (sp?) 
package list from 2.7 and use that to install same to 3.4.  Nicer answer: use 
option that gets details right.  Perhaps list could be checked for availability 
in 3.4.  Or displayed in text widget to be edited.

I look forward to your proposal.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-03-05 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

Hi,
I would like to work on this. Give me a day or two to come up with my design 
plan, for feedback.
Let me know please if this feature addition is being considered.

--
nosy: +sahutd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-02-28 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Raymond, I have had a very vague idea of doing something like this.  Thanks for 
posting something more concrete.  I share the sentiments of your last sentence.

Reading Stackoverflow, it is apparent that some people with two+ Python 
versions do not know that a package must be installed for each version of 
Python, and have less idea how to install for the non-default version.  (All I 
know is to cd to pythonxy, or maybe pythonxy/scripts and run pip from there, or 
something like that.)  Running from Idle (x.y) would take of this.

Donald: at Raymond's behest, Idle now has a menu entry to run turtledemo, a 
separate application that is useful to beginners, in part to make turtledemo 
more visible. pip_gui could easily follow the same model.  No direct 
interaction with the Idle shell or edit windows is needed.  If you are less 
familiar with tkinter than I am, I would help with the gui part.  As hinted 
above, I am not the one to decide on menu options and write the implementation 
functions.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-02-28 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Thinking a bit more, the Idle entry point could be one entry, 'Install 
Packages' or 'Manage Packages' on the Options menu (or maybe Help menu).  I am 
not sure that the new window would need a submenu, as I think everything listed 
in the opening post could fit in a large window.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-02-28 Thread Donald Stufft

Donald Stufft added the comment:

I'm unlikely to have the time or motivation to do this anytime soon (just to be 
clear). I would be able to advise anyone who does feel like doing it the best 
ways to interact with pip itself though.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-02-28 Thread Raymond Hettinger

New submission from Raymond Hettinger:

In teaching Python, I find that many Windows users are command-line challenged 
and have difficulties using and accessing PIP.  In the spirit of what Tortoise 
has done for version control, I propose that menu options be added for PIP.

PyPI (Python Package Index)
---
* Ensure pip / Upgrade pip
* Show installed packages (freeze) (and give options to update or remove)
* Install from requirements file (install -r)
* Search for package
* Install package
* Upgrade package (install -U)
* Uninstall package
* Change default repository (default pypi.python.org)
* Change default install directory (in case the user doesn't have admin rights)

This change would be a major step forward in making the PyPi accessible by 
people who lack the skills or inclination to wrestle with PIP.

I would love to be able to start a class with a fresh Python download from 
python.org and effortlessly install requests and other tools without users 
having to fire-up a terminal window and wrestle with the various parts.

--
assignee: terry.reedy
components: IDLE
messages: 236906
nosy: rhettinger, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE to provide menu options for using PIP
type: enhancement
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23551] IDLE to provide menu options for using PIP

2015-02-28 Thread Donald Stufft

Donald Stufft added the comment:

I don't know if this should be part of IDLE or not, but I've long wondered if 
we should make a GUI frontend for pip. To be clear, I'm not against this being 
in IDLE either, but just saying I've thought about making a pip-gui project in 
the past, I just haven't had the time or motivation to really do it.

--
nosy: +dstufft

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com