Hash: SHA1

Jim Fulton wrote:
> On Sep 26, 2007, at 1:18 PM, Fred Drake wrote:
>> On 9/26/07, Martijn Faassen <[EMAIL PROTECTED]> wrote:
>>> What does one need to tell setup.py to make sure CHANGES.txt is
>>> available? I understand it isn't by default, then? Hm, it does  
>>> appear to
>>> be there by default. I checked grok 0.10's tgz and it's there, and we
>>> didn't do anything special.
>> Do you mean available in the unpacked sdist, or as part of the
>> installation?  I don't think any of README, README.txt, CHANGES,
>> CHANGES.txt (from the root of the distribution, not from inside the
>> package) are actually installed.  If they are, I'd love to know where.
> By default READM(.txt) is installed in a source distribution.  
> Anything else in the root (aside from setup.py of course and source  
> files themselves) aren't without extra setup chants. (These chants  
> can be figured out with some effort.  I never remember them, so, if I  
> want to do something like this, I have to figure them out again or  
> try to find an example with them.)
> If we are going to have a change log, which we should, I would prefer  
> it to be included in source distributions.

I want them present in the *installed* egg, not just in the source
distribution:  setuptools doesn't preserve source distributions after
creating / installing the '.egg' version.

>  Including a file other  
> that README in the root requires extra effort that I don't want to  
> require -- writing setup.py files is hard enough as it is.

Put the "real" README.txt and CHANGES.txt in the actual package:  the
version which is a peer of 'setup.py' should be a stub which points to
the "real" versions.

> I'm not crazy about Tres' idea of putting these files in the Python  
> packages themselves, but it does have the advantage that it causes  
> the files to be included in eggs as well as source distributions.

Not having those files available after installing is a complete
non-starter for me.

- --
Tres Seaver          +1 540-429-0999          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to