Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread David Cournapeau
Ben Finney wrote: > > Yes, that's mainly my point. Whether a particular set of bits is > “architecture-dependent” or “architecture-independent” is rather > orthogonal, in Python, to whether it's an executable program library. > I don't think I have ever used the term executable program library

Re: [Distutils] Uninstall command, the return

2009-01-31 Thread David Cournapeau
Lennart Regebro wrote: > On Sat, Jan 31, 2009 at 23:21, zooko wrote: > >> Many other people, however, are unwilling to let the Python packaging tool >> nor the packages that it is installing write into their system directories. >> For these people, the system directories are never allowed to b

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Ben Finney
David Cournapeau writes: > Ben Finney wrote: > > I think you've not only simplified, you've done so in the wrong > > direction. I'd say instead that “datadir” is for > > *non-executable* files, and “libdir” for executable. > > It depends on what you mean by executable: it is obviously wrong > wh

Re: [Distutils] Uninstall command, the return

2009-01-31 Thread Lennart Regebro
On Sat, Jan 31, 2009 at 23:21, zooko wrote: > Many other people, however, are unwilling to let the Python packaging tool > nor the packages that it is installing write into their system directories. > For these people, the system directories are never allowed to be written > into by any tool othe

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread David Cournapeau
P.J. Eby wrote: > At 05:40 PM 1/31/2009 +0900, David Cournapeau wrote: >> Ian Bicking wrote: >> > On Fri, Jan 30, 2009 at 12:39 PM, Floris Bruynooghe >> > I wouldn't want to use those. What goes in libdir, what goes in >> > datadir? I don't know, and frankly the distinctions start getting >> > re

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread David Cournapeau
Floris Bruynooghe wrote: > On Sat, Jan 31, 2009 at 10:37:56AM -0500, P.J. Eby wrote: > >> At 05:40 PM 1/31/2009 +0900, David Cournapeau wrote: >> >>> But you mostly do not need to care, as a developer: .py files would be >>> considered as data files, extensions as arch-dependent, etc... >>>

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread David Cournapeau
Ben Finney wrote: > > I think you've not only simplified, you've done so in the wrong > direction. I'd say instead that “datadir” is for *non-executable* > files, and “libdir” for executable. > It depends on what you mean by executable: it is obviously wrong when executable = have the executabl

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Ben Finney
Tres Seaver writes: > Calling .py files "data" is another choice which seems (to me) > arbitrary: in my view, .py files, as well as others, are "software", > not data, and should be kept together with the other software (e.g., > templates used for rendering HTML) that they are distributed with.

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Ben Finney
David Cournapeau writes: > They are not arbitrary - they come from standard usage and have a > rationale, at least on Unix Agreed with this. > (datadir for arch independent, and libdir for arch dependent, to > simplify). I think you've not only simplified, you've done so in the wrong direction

Re: [Distutils] [Python Language Summit] Distutils / Pa ckaging survey

2009-01-31 Thread David Lyon
On Sat, 31 Jan 2009 10:37:56 -0500, "P.J. Eby" wrote: > If this is true, then there's no need to distinguish between .py > files and any other data files - they both belong in /share to begin > with, not in /lib. Or else they ALL belong in /lib. The entire "FHS > demands they be split" concep

Re: [Distutils] Uninstall command, the return

2009-01-31 Thread zooko
On Jan 29, 2009, at 17:49 PM, Tarek Ziadé wrote: Many people are asking for an uninstall command. This is true. Many other people, however, are unwilling to let the Python packaging tool nor the packages that it is installing write into their system directories. For these people, the sys

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Cournapeau wrote: > Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Ben Finney wrote: >> >>> Ian Bicking writes: >>> >>> On Fri, Jan 30, 2009 at 12:39 PM, Floris Bruynooghe < floris.bruynoo...@gmail

[Distutils] (no subject)

2009-01-31 Thread Zooko O'Whielacronx
Floris Bruynooghe writes: > > In my ideal world python package developers would only ever have to > worry about uploading an sdist. ... > If I am correct the only reason people started to go away from this is > because Windows users don't tend to have compilers installed. I recently made this tr

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Floris Bruynooghe
On Sat, Jan 31, 2009 at 10:37:56AM -0500, P.J. Eby wrote: > At 05:40 PM 1/31/2009 +0900, David Cournapeau wrote: >> But you mostly do not need to care, as a developer: .py files would be >> considered as data files, extensions as arch-dependent, etc... > > If this is true, then there's no need to d

[Distutils] [ANN] Reorganized Distutils Wiki, Cookbook, Proposal Index, FAQ and more

2009-01-31 Thread Akira Kitada
Hi, I reorganized Distutils page on wiki.python.org. Here are some of the contents. * http://wiki.python.org/moin/Distutils * http://wiki.python.org/moin/Distutils/Cookbook * http://wiki.python.org/moin/Distutils/Proposals * http://wiki.python.org/moin/Distutils/FAQ __

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread zooko
Thanks for the information, Josselin: On Jan 29, 2009, at 7:10 AM, Josselin Mouette wrote: Le mercredi 28 janvier 2009 à 07:44 -0700, zooko a écrit : 3. It would be okay for this process to be automated (or semi- automated), but there's some flaw in the design of stdeb which means it will n

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread P.J. Eby
At 05:40 PM 1/31/2009 +0900, David Cournapeau wrote: Ian Bicking wrote: > On Fri, Jan 30, 2009 at 12:39 PM, Floris Bruynooghe > I wouldn't want to use those. What goes in libdir, what goes in > datadir? I don't know, and frankly the distinctions start getting > really arbitrary. They are not a

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Floris Bruynooghe
On Fri, Jan 30, 2009 at 11:02:36PM +, Floris Bruynooghe wrote: > Ok, that was supposed to read: > > prefix = sys.prefix > libdir = sys.prefix/lib/pythonX.Y/site-packages/pkgname > datadir = sys.prefix/share/mypackage > docdir = sys.prefix/share/doc/mypackage Just how many time will I get this

Re: [Distutils] Solaris and distutils: Need to pass LIBDIR explicitly with -L when building extensions?

2009-01-31 Thread Floris Bruynooghe
On Fri, Jan 30, 2009 at 05:45:26PM -0600, Dave Peterson wrote: > Floris Bruynooghe wrote: >> On Mon, Jan 26, 2009 at 06:48:06PM -0600, Dave Peterson wrote: >> >>> I am trying to build a number of projects that use Python extensions >>> on Solaris 10 and I've discovered that nothing with extens

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Ben Finney
Tarek Ziadé writes: > On Sat, Jan 31, 2009 at 12:32 AM, Ben Finney > wrote: > > Given the inertia on both sides of this terminological schism, and > > the fact that these concepts are not exactly things that an > > outsider would even expect to have to learn new terms for, I don't > > think it

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Tarek Ziadé
On Sat, Jan 31, 2009 at 12:32 AM, Ben Finney wrote: > Tarek Ziadé writes: > >> On Sat, Jan 31, 2009 at 12:09 AM, Ben Finney >> wrote: >> > I imagine Floris meant what most hackers mean by "package", which >> > is what Python perversely calls a "distribution". That may or may >> > not be what se

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread David Cournapeau
Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ben Finney wrote: > >> Ian Bicking writes: >> >> >>> On Fri, Jan 30, 2009 at 12:39 PM, Floris Bruynooghe < >>> floris.bruynoo...@gmail.com> wrote: >>> >>> I imagine things like libdir, prefix, datadir, doc

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Finney wrote: > Ian Bicking writes: > >> On Fri, Jan 30, 2009 at 12:39 PM, Floris Bruynooghe < >> floris.bruynoo...@gmail.com> wrote: >> >>> I imagine things like libdir, prefix, datadir, docdir and other >>> things copied from autoconf. Where th

Re: [Distutils] [Python Language Summit] Distutils / Packaging survey

2009-01-31 Thread David Cournapeau
Ian Bicking wrote: > On Fri, Jan 30, 2009 at 12:39 PM, Floris Bruynooghe > mailto:floris.bruynoo...@gmail.com>> wrote: > > I imagine things like libdir, prefix, datadir, docdir and other things > copied from autoconf. Where the defaults would be something like: > > prefix = sys.prefix