Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-29 Thread anatoly techtonik
On Thu, Mar 25, 2010 at 2:16 PM, Olemis Lang ole...@gmail.com wrote: On Thu, Mar 25, 2010 at 8:09 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Thu, Mar 25, 2010 at 12:54 PM, Olemis Lang ole...@gmail.com wrote: On Wed, Mar 24, 2010 at 6:19 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed,

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-29 Thread Tarek Ziadé
2010/3/29 anatoly techtonik techto...@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

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-29 Thread Olemis Lang
2010/3/29 anatoly techtonik techto...@gmail.com: On Thu, Mar 25, 2010 at 2:16 PM, Olemis Lang ole...@gmail.com wrote: On Thu, Mar 25, 2010 at 8:09 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Thu, Mar 25, 2010 at 12:54 PM, Olemis Lang ole...@gmail.com wrote: On Wed, Mar 24, 2010 at 6:19 PM,

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-25 Thread Olemis Lang
On Wed, Mar 24, 2010 at 6:19 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Mar 24, 2010 at 10:44 PM, Carl Meyer c...@dirtcircle.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] I am thinking about a version of pip that would be built on the top of distutils2, AFAICR

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-25 Thread Tarek Ziadé
On Thu, Mar 25, 2010 at 12:54 PM, Olemis Lang ole...@gmail.com wrote: On Wed, Mar 24, 2010 at 6:19 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Mar 24, 2010 at 10:44 PM, Carl Meyer c...@dirtcircle.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] I am thinking about a

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-25 Thread Olemis Lang
On Thu, Mar 25, 2010 at 8:09 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Thu, Mar 25, 2010 at 12:54 PM, Olemis Lang ole...@gmail.com wrote: On Wed, Mar 24, 2010 at 6:19 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Mar 24, 2010 at 10:44 PM, Carl Meyer c...@dirtcircle.com wrote:

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Wed, Mar 24, 2010 at 10:59 AM, anatoly techtonik techto...@gmail.com wrote: I wonder if there are many people here who don't use some kind of easy_install package for package management in their Python / virtualenv installations? I propose to include at least one such package that is

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread anatoly techtonik
On Wed, Mar 24, 2010 at 12:26 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: Distutils2 is planned to be reintegrated in the stdlib in Python 3.3, and my goal is to release it when Python 2.7 final is released. Does that means after Python 2.7, because I meant it to be before or at least with?

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread anatoly techtonik
Sure. Package management tool should have an ability to update itself when required regardless of Python release. For example:: python.exe -m easy_install setuptools This should be: python -m easy_install -U setuptools P.S. Wave effect. =) -- anatoly t.

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Wed, Mar 24, 2010 at 12:20 PM, anatoly techtonik techto...@gmail.com wrote: On Wed, Mar 24, 2010 at 12:26 PM, Tarek Ziadé ziade.ta...@gmail.com wrote: Distutils2 is planned to be reintegrated in the stdlib in Python 3.3, and my goal is to release it when Python 2.7 final is released. Does

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Darren Dale
On Wed, Mar 24, 2010 at 6:26 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: The open question is: do we want to include a full installer that takes care of installing / removing dependencies as well ? I think not. Pip already provides this feature on the top of distutils (and distutils2 later I

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Wed, Mar 24, 2010 at 12:50 PM, Darren Dale dsdal...@gmail.com wrote: On Wed, Mar 24, 2010 at 6:26 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: The open question is: do we want to include a full installer that takes care of installing / removing dependencies as well ? I think not. Pip

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Darren Dale
Hi Tarek, On Wed, Mar 24, 2010 at 7:53 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On Wed, Mar 24, 2010 at 12:50 PM, Darren Dale dsdal...@gmail.com wrote: On Wed, Mar 24, 2010 at 6:26 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: The open question is: do we want to include a full installer

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Nick Coghlan
anatoly techtonik wrote: If it is impossible to ship the whole package management system then at least Python distribution may carry small bootstrap script for it. When user tries to execute package management tools, it warns him that these are not installed and gives a hint where to get

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Carl Meyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Darren, Darren Dale wrote: [snip] Thanks for responding, but I'm still wondering if pip can install dependencies recursively. Yes, it can and does. As Tarek said, pip uses the same install_requires metadata and it treats it the same way as

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Olemis Lang
On Wed, Mar 24, 2010 at 7:23 AM, anatoly techtonik techto...@gmail.com wrote: Sure. Package management tool should have an ability to update itself when required regardless of Python release. For example:: python.exe -m easy_install setuptools This should be:    python -m easy_install -U

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Olemis Lang
On Wed, Mar 24, 2010 at 7:50 AM, Darren Dale dsdal...@gmail.com wrote: On Wed, Mar 24, 2010 at 6:26 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: The open question is: do we want to include a full installer that takes care of installing / removing dependencies as well ? I think not. Pip

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Darren Dale
Hi Carl, 2010/3/24 Carl Meyer c...@dirtcircle.com: Darren Dale wrote: [snip] Thanks for responding, but I'm still wondering if pip can install dependencies recursively. Yes, it can and does. As Tarek said, pip uses the same install_requires metadata I saw that part... and it treats it

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Carl Meyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darren Dale wrote: Right, I am somewhat familiar with requirements files. I guess I have not been keeping up closely enough with pip development recently. Last I checked, pip supported dependencies via requirements files (which are good for

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Ian Bicking
On Wed, Mar 24, 2010 at 7:27 AM, Olemis Lang ole...@gmail.com wrote: My experience is that only `install_requires` is needed (unless you want to create app bundles AFAICR) , but in practice I've noticed that *some* easy_installable packages are not pip-able (though I had no time to figure out

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Darren Dale
On Wed, Mar 24, 2010 at 1:19 PM, Ian Bicking i...@colorstudy.com wrote: On Wed, Mar 24, 2010 at 7:27 AM, Olemis Lang ole...@gmail.com wrote: My experience is that only `install_requires` is needed (unless you want to create app bundles AFAICR) , but in practice I've noticed that *some*

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Jason Baker
On Wed, Mar 24, 2010 at 12:53 PM, Darren Dale dsdal...@gmail.com wrote: On Wed, Mar 24, 2010 at 1:19 PM, Ian Bicking i...@colorstudy.com wrote: On Wed, Mar 24, 2010 at 7:27 AM, Olemis Lang ole...@gmail.com wrote: My experience is that only `install_requires` is needed (unless you want to

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Darren Dale
On Wed, Mar 24, 2010 at 2:06 PM, Jason Baker jba...@zeomega.com wrote: On Wed, Mar 24, 2010 at 12:53 PM, Darren Dale dsdal...@gmail.com wrote: On Wed, Mar 24, 2010 at 1:19 PM, Ian Bicking i...@colorstudy.com wrote: On Wed, Mar 24, 2010 at 7:27 AM, Olemis Lang ole...@gmail.com wrote: My

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Sridhar Ratnakumar
On 2010-03-24, at 2:04 PM, Darren Dale wrote: Seeking clarification: how can pip recursively install dependencies *and* keep Setuptools from resolving dependencies? Using the --no-deps option to setup.py Amusing. Seriously though, how does pip determine the dependencies if it is

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Darren Dale
On Wed, Mar 24, 2010 at 5:30 PM, Sridhar Ratnakumar sridh...@activestate.com wrote: On 2010-03-24, at 2:04 PM, Darren Dale wrote: Seeking clarification: how can pip recursively install dependencies *and* keep Setuptools from resolving dependencies? Using the --no-deps option to setup.py

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Carl Meyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Darren, Darren Dale wrote: Amusing. Seriously though, how does pip determine the dependencies if it is calling setup.py with arguments that prevent Setuptools from resolving the dependencies? pip --help doesn't indicate a --no-deps option, it

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Wed, Mar 24, 2010 at 10:44 PM, Carl Meyer c...@dirtcircle.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Darren, Darren Dale wrote: Amusing. Seriously though, how does pip determine the dependencies if it is calling setup.py with arguments that prevent Setuptools from

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Robert Kern
On 2010-03-24 17:19 PM, Tarek Ziadé wrote: BTW, That makes me wonder how hard it would be to make it use a plain python setup.py install call instead, to remove the easy_install dependency ? Since it could simply loop into each dependency Some packages use setuptools and some don't. Since

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Wed, Mar 24, 2010 at 11:27 PM, Robert Kern robert.k...@gmail.com wrote: On 2010-03-24 17:19 PM, Tarek Ziadé wrote: BTW, That makes me wonder how hard it would be to make it use a plain python setup.py install call instead, to remove the easy_install dependency ?  Since it could simply

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Robert Kern
On 2010-03-24 17:53 PM, Tarek Ziadé wrote: On Wed, Mar 24, 2010 at 11:27 PM, Robert Kernrobert.k...@gmail.com wrote: On 2010-03-24 17:19 PM, Tarek Ziadé wrote: BTW, That makes me wonder how hard it would be to make it use a plain python setup.py install call instead, to remove the

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Thu, Mar 25, 2010 at 12:20 AM, Robert Kern robert.k...@gmail.com wrote: [??] The problem with doing that currently is that distutils complains when it receives an option that it doesn't recognize. No because these are options you pass to easy_install only in your distutils.cfg file:

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Robert Kern
On 2010-03-24 18:30 PM, Tarek Ziadé wrote: On Thu, Mar 25, 2010 at 12:20 AM, Robert Kernrobert.k...@gmail.com wrote: [??] The problem with doing that currently is that distutils complains when it receives an option that it doesn't recognize. No because these are options you pass to

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Tarek Ziadé
On Thu, Mar 25, 2010 at 12:38 AM, Robert Kern robert.k...@gmail.com wrote: [..] The --single-version-externally-managed and --record options are only on the install command, not the easy_install command. oops that's right I've forgot about that, I thought they were in easy_install. So it

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread P.J. Eby
At 05:27 PM 3/24/2010 -0500, Robert Kern wrote: Since setuptools changes the behavior of the install command to install .eggs, those packages need extra flags to use pip's preferred flat installs. Using easy_install (with the right flags) yields consistent behavior for all packages.

Re: [Distutils] [Python-Dev] At least one package management tool for 2.7

2010-03-24 Thread Robert Kern
On 2010-03-24 19:56 , P.J. Eby wrote: At 05:27 PM 3/24/2010 -0500, Robert Kern wrote: Since setuptools changes the behavior of the install command to install .eggs, those packages need extra flags to use pip's preferred flat installs. Using easy_install (with the right flags) yields consistent