Fred Drake wrote:
On Tue, Oct 27, 2009 at 12:26 PM, Chris Withers ch...@simplistix.co.uk wrote:
You're ignoring the fact that for the information in install_requires to
even be parsed, you need to have setuptools present.
install_requires is processed at install time. At that time, clearly,
On Wed, Oct 28, 2009 at 10:09 AM, Chris Withers ch...@simplistix.co.uk wrote:
By is, I'm sure you mean needs to be. Specifying setuptools in
install_requires is pointless chicken-and-egg'ing. But maybe I mean
setup_requires thanks to setuptools interesting parameter naming ;-)
You just might.
Toshio Kuratomi wrote:
On Tue, Oct 20, 2009 at 02:48:58PM +0100, Chris Withers wrote:
Fred Drake wrote:
On Tue, Oct 20, 2009 at 9:39 AM, Chris Withers ch...@simplistix.co.uk wrote:
As is specifying the setuptools distribution as a requirement when you're
already using it...
I don't use
On Tue, Oct 27, 2009 at 11:35 AM, Chris Withers ch...@simplistix.co.uk wrote:
I'm talking about *at all*.
If I don't include setuptools in install_requires, then I've no
business expecting it to be available at runtime. Since our current
approach in the Zope community is to use pkg_resources to
Fred Drake wrote:
On Tue, Oct 27, 2009 at 11:35 AM, Chris Withers ch...@simplistix.co.uk wrote:
I'm talking about *at all*.
If I don't include setuptools in install_requires, then I've no
business expecting it to be available at runtime.
You're ignoring the fact that for the information in
On Tue, Oct 27, 2009 at 12:26 PM, Chris Withers ch...@simplistix.co.uk wrote:
You're ignoring the fact that for the information in install_requires to
even be parsed, you need to have setuptools present.
install_requires is processed at install time. At that time, clearly,
Toshio Kuratomi wrote:
True... but because of that people are able to specify setuptools in
setup.py and it will work with either distribute or setuptools.
If you mean in the install_requires or setup_requires parameters to
setuptools setup method, then I'm yet to see a use case where this is
Chris Withers a écrit :
Hanno Schlichting wrote:
On Tue, Oct 13, 2009 at 7:31 PM, Tres Seaver tsea...@palladion.com
wrote:
Why? Nobody will check / enforce / understand what 'install_requires'
even means except setuptools / distribute.
To quote Toshio Kuratomi:
It's nice for people
2009/10/20 kiorky kio...@cryptelium.net:
buildout, zc.recipe.egg and others recipes flavors do.
But they use setuptools to do so, I hope?
--
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
___
Distutils-SIG
On Tue, Oct 20, 2009 at 7:05 AM, kiorky kio...@cryptelium.net wrote:
buildout, zc.recipe.egg and others recipes flavors do.
These tools don't parse setup.py; they execute setup.py in a
constrained context (possibly a separate process; don't recall
offhand) in order to collect the metadata.
For minitage.recipe.*, yes it uses setuptools API.
They also redo on the fly the python sdist dance in some case and reload the
distribution using also setuptools API. And in the patch use case [1], they
also patch the PKG-INFO file with a generated version info and use setuptools
API to reload
Fred Drake wrote:
Parsing the setup.py would be insane.
As is specifying the setuptools distribution as a requirement when
you're already using it...
Chris
--
Simplistix - Content Management, Batch Processing Python Consulting
- http://www.simplistix.co.uk
On Tue, Oct 20, 2009 at 9:39 AM, Chris Withers ch...@simplistix.co.uk wrote:
As is specifying the setuptools distribution as a requirement when you're
already using it...
I don't use setuptools at runtime unless something requires it.
Having it available at install time and run time are two
Fred Drake wrote:
On Tue, Oct 20, 2009 at 9:39 AM, Chris Withers ch...@simplistix.co.uk wrote:
As is specifying the setuptools distribution as a requirement when you're
already using it...
I don't use setuptools at runtime unless something requires it.
Having it available at install time and
On Tue, Oct 20, 2009 at 02:48:58PM +0100, Chris Withers wrote:
Fred Drake wrote:
On Tue, Oct 20, 2009 at 9:39 AM, Chris Withers ch...@simplistix.co.uk
wrote:
As is specifying the setuptools distribution as a requirement when you're
already using it...
I don't use setuptools at runtime
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hanno Schlichting wrote:
On Fri, Oct 9, 2009 at 1:07 PM, Chris Withers ch...@simplistix.co.uk wrote:
Reinout van Rees wrote:
- Do my libraries have to list a dependency on distribute or on
setuptools?
Everything zopish has a 'setuptools = 0.6c9'
On Tue, Oct 13, 2009 at 7:31 PM, Tres Seaver tsea...@palladion.com wrote:
Why? Nobody will check / enforce / understand what 'install_requires'
even means except setuptools / distribute.
To quote Toshio Kuratomi:
It's nice for people creating system packages when you specify all of the
At 01:31 PM 10/13/2009 -0400, Tres Seaver wrote:
Why?
Because the user might have, say, setuptools 0.6c8, and the package
relies on a bugfix in 0.6c9. Also, at some point, there will be an
0.7a1, with new features that some people might actually want to use.
(Some projects also actually
Reinout van Rees wrote:
- Do my libraries have to list a dependency on distribute or on setuptools?
Everything zopish has a 'setuptools = 0.6c9' in it.
They shouldn't, unless you only require setuptools after your package is
installed and don't use it in your setup.py, which seems unlikely.
On Fri, Oct 9, 2009 at 1:07 PM, Chris Withers ch...@simplistix.co.uk wrote:
Reinout van Rees wrote:
- Do my libraries have to list a dependency on distribute or on
setuptools?
Everything zopish has a 'setuptools = 0.6c9' in it.
They shouldn't, unless you only require setuptools after your
On Fri, Oct 9, 2009 at 3:14 PM, Jim Fulton j...@zope.com wrote:
On Fri, Oct 9, 2009 at 7:57 AM, Hanno Schlichting ha...@hannosch.eu wrote:
On Fri, Oct 9, 2009 at 1:07 PM, Chris Withers ch...@simplistix.co.uk wrote:
I assume most packages Reinout uses (like all zope.* packages) use
namespace
Hanno Schlichting wrote:
I assume most packages Reinout uses (like all zope.* packages) use
namespace packages. So they actually do depend during runtime on the
pkg_resources module, which happens to be available from either the
distribute or setuptools distribution. So one of them should be
On Fri, Oct 09, 2009 at 03:28:57PM +0100, Chris Withers wrote:
In this case, which I suspect is extremely rare anyway, you'll need to
have setuptools installed already.
So, in *any* of these cases, specifying setuptools as a requirement
seems like a total waste of time...
Now, what
Toshio Kuratomi wrote:
On Fri, Oct 09, 2009 at 03:28:57PM +0100, Chris Withers wrote:
In this case, which I suspect is extremely rare anyway, you'll need to
have setuptools installed already.
So, in *any* of these cases, specifying setuptools as a requirement
seems like a total waste of
On Fri, Oct 09, 2009 at 04:04:06PM +0100, Chris Withers wrote:
Toshio Kuratomi wrote:
On Fri, Oct 09, 2009 at 03:28:57PM +0100, Chris Withers wrote:
In this case, which I suspect is extremely rare anyway, you'll need
to have setuptools installed already.
So, in *any* of these cases,
Toshio Kuratomi wrote:
On Fri, Oct 09, 2009 at 04:04:06PM +0100, Chris Withers wrote:
Toshio Kuratomi wrote:
On Fri, Oct 09, 2009 at 03:28:57PM +0100, Chris Withers wrote:
In this case, which I suspect is extremely rare anyway, you'll need
to have setuptools installed already.
So, in *any*
On Fri, Oct 09, 2009 at 05:13:16PM +0100, Chris Withers wrote:
Toshio Kuratomi wrote:
On Fri, Oct 09, 2009 at 04:04:06PM +0100, Chris Withers wrote:
Toshio Kuratomi wrote:
On Fri, Oct 09, 2009 at 03:28:57PM +0100, Chris Withers wrote:
In this case, which I suspect is extremely rare anyway,
27 matches
Mail list logo