[Python-Dev] Bootstrap script for package management tool in Python 2.7 (Was: Re: [Distutils] At least one package management tool for 2.7) (original) (raw)
anatoly techtonik techtonik at gmail.com
Mon Mar 29 09:30:03 CEST 2010
- Previous message: [Python-Dev] [Python-checkins] r79397 - in python/trunk: Doc/c-api/capsule.rst Doc/c-api/cobject.rst Doc/c-api/concrete.rst Doc/data/refcounts.dat Doc/extending/extending.rst Include/Python.h Include/cStringIO.h Include/cobject.h Include/datetime
- Next message: [Python-Dev] Bootstrap script for package management tool in Python 2.7 (Was: Re: [Distutils] At least one package management tool for 2.7)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
before:
"search" -> "download" -> "unzip" -> "cmd" -> "cd" -> "python setup.py install"
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:
user installs Python 2.7
user issues
python -m easy_install something
user gets message 'easy_install' tool is not installed on this system. To make it available, download and install
setuptools
package from http://pypi.python.org/pypi/setuptools/the screen is paused before exit (for windows systems)
Other design notes:
- if package tries to import
easy_install
module used for bootstrap, it gets the same ImportException as if there were noeasy_install
at all - 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
anatoly t.
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. Regards Tarek -- Tarek Ziadé | http://ziade.org
- Previous message: [Python-Dev] [Python-checkins] r79397 - in python/trunk: Doc/c-api/capsule.rst Doc/c-api/cobject.rst Doc/c-api/concrete.rst Doc/data/refcounts.dat Doc/extending/extending.rst Include/Python.h Include/cStringIO.h Include/cobject.h Include/datetime
- Next message: [Python-Dev] Bootstrap script for package management tool in Python 2.7 (Was: Re: [Distutils] At least one package management tool for 2.7)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]