Re: [Python-Dev] easy_install ?

2015-02-24 Thread Daniel Holth
The other option might be to use http://bitbucket.org/dholth/setup-requires It uses pip to install requirements into an isolated directory before setup.py runs, with pip, doing exactly what you requested. On Feb 24, 2015 5:44 PM, "Nick Coghlan" wrote: > > On 25 Feb 2015 07:23, "Alexander Belopol

Re: [Python-Dev] easy_install ?

2015-02-24 Thread Nick Coghlan
On 25 Feb 2015 07:23, "Alexander Belopolsky" wrote: > > > On Tue, Feb 24, 2015 at 2:03 PM, Daniel Holth wrote: > > > > > Is there a recommended way to invoke pip from setup.py? When I specify > > > "tests_require=" and run "python setup.py test", the requirements get > > > installed using setupt

Re: [Python-Dev] easy_install ?

2015-02-24 Thread Alexander Belopolsky
On Tue, Feb 24, 2015 at 4:24 PM, Daniel Holth wrote: > > That might mostly do what you want, since tox could install any > additional test requirements based on its configuration. Does "that" refer to using tests_require=['tox'] as I described below? This means using easy_install implicitly and

Re: [Python-Dev] easy_install ?

2015-02-24 Thread Daniel Holth
That might mostly do what you want, since tox could install any additional test requirements based on its configuration. On Tue, Feb 24, 2015 at 4:21 PM, Alexander Belopolsky wrote: > > On Tue, Feb 24, 2015 at 2:03 PM, Daniel Holth wrote: >> >> > Is there a recommended way to invoke pip from set

Re: [Python-Dev] easy_install ?

2015-02-24 Thread Daniel Holth
On Tue, Feb 24, 2015 at 1:31 PM, Alexander Belopolsky wrote: > > On Tue, Feb 24, 2015 at 11:44 AM, Paul Moore wrote: >> >> And if pip won't work, it would be good to >> know why. > > > Is there a recommended way to invoke pip from setup.py? When I specify > "tests_require=" and run "python setup

Re: [Python-Dev] easy_install ?

2015-02-24 Thread Laura Creighton
In a message of Tue, 24 Feb 2015 16:44:20 +, Paul Moore writes: >On 24 February 2015 at 16:30, Brett Cannon wrote: >> Tell people to use pip. Having ensurepip in Python 2.7 and 3.4 makes it as >> official as anything will be as the recommended tool to install projects. >> Otherwise easy_instal

Re: [Python-Dev] easy_install ?

2015-02-24 Thread Ethan Furman
On 02/24/2015 08:44 AM, Paul Moore wrote: > On 24 February 2015 at 16:30, Brett Cannon wrote: >> >> Tell people to use pip. Having ensurepip in Python 2.7 and 3.4 makes it as >> official as anything will be as the recommended tool to install projects. >> Otherwise easy_install has nothing to do dir

Re: [Python-Dev] easy_install ?

2015-02-24 Thread Paul Moore
On 24 February 2015 at 16:30, Brett Cannon wrote: > Tell people to use pip. Having ensurepip in Python 2.7 and 3.4 makes it as > official as anything will be as the recommended tool to install projects. > Otherwise easy_install has nothing to do directly with python-dev so I don't > think we can c

Re: [Python-Dev] easy_install ?

2015-02-24 Thread Brett Cannon
On Tue Feb 24 2015 at 10:54:14 AM Laura Creighton wrote: > Hello all, > I wonder what the status of easy_install is. I keep finding people > who needed to install something 'path.py' is the latest, who needed to > use pip, and couldn't get easy_install to work. Should we tell people > that easy

[Python-Dev] easy_install ?

2015-02-24 Thread Laura Creighton
Hello all, I wonder what the status of easy_install is. I keep finding people who needed to install something 'path.py' is the latest, who needed to use pip, and couldn't get easy_install to work. Should we tell people that easy_install is deprecated, or ask them to file bugs when they could not

[Python-Dev] easy_install

2006-07-10 Thread Talin
Here's something to discuss: First, let me say that I love easy_install. I absolutely "just works" and does what I want, and makes it really simple to install whatever bit of Python code I need. At the same time, however, I get kind of scared when I hear people on the list discussing the vario