[Python-Dev] Bootstrap script for package management tool in Python 2.7 (Was: Re: [Distutils] At least one package management tool for 2.7)
techtonik at gmail.com
Mon Mar 29 09:30:03 CEST 2010
So, there won't be any package management tool shipped with Python 2.7
and users will have to download and install `setuptools` manually as
"search" -> "download" -> "unzip" -> "cmd" -> "cd" -> "python
Therefore I still propose shipping bootstrap package that instruct
user how to download and install an actual package management tool
when users tries to use it. So far I know only one stable tool -
`easy_install` - a part of `setuptools` package.
The required behavior for very basic user friendliness:
1. user installs Python 2.7
2. user issues `python -m easy_install something`
3. user gets message
'easy_install' tool is not installed on this system. To make it
available, download and install `setuptools` package from
4. the screen is paused before exit (for windows systems)
Other design notes:
1. if package tries to import `easy_install` module used for
bootstrap, it gets the same ImportException as if there were no
`easy_install` at all
2. bootstrap module is overwritten by actual package when users installs it
So, do we need a PEP for that? How else can I know if consensus is
reached? Anybody is willing to elaborate on implementation?
P.S. Please be careful to reply to relevant lists
On Mon, Mar 29, 2010 at 9:37 AM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:
> 2010/3/29 anatoly techtonik <techtonik at gmail.com>:
>> It is really hard to follow. You should at least change subjects when
>> switching topic.
> I was talking about the work going on and the decisions taken lately.
> I never change topics of threads mails when there's less than 100 mails,
> because I find it way more confusing :)
>> So, what is the verdict? Will there be a package management tool or
>> bootstrap package for it shipped with Python 2.7 or not?
> As I said in the mail you've quoted, all improvements are made in
> Distutils2. So the answer is no.
> Python 2.7b1 is due in less than a week anyways, so any new
> development on this topic will happen after.
> Basically Python 2.7 == Python 2.6 in term of packaging.
> Tarek Ziadé | http://ziade.org
More information about the Python-Dev