[Zope3-dev] Re: More thoughts on packaging
Richard Jones
richard at commonground.com.au
Mon Feb 16 20:28:26 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 17/02/2004, at 9:05 AM, Jeremy Hylton wrote:
> On Mon, 2004-02-16 at 11:20, Tres Seaver wrote:
>> - Make it trivial to include "data" (e.g., page template files,
>> images, ZCML, documentation) along with code (distutils is
>> pathetic in its handling of "data");
>
> There's widespread agreement on this point. I think it would be fairly
> straightforward to write a patch for distutils for 2.4 to make it
> handle
> data usefully.
It has a data_files option (see section 3.5 of the distutils manual)
which lists data files to install in subdirs of the install prefix. So
in Roundup, I specify things like:
('share/roundup/cgi-bin', ['cgi-bin/roundup.cgi'])
and
('man/man1', ['doc/roundup-admin.1',
'doc/roundup-mailgw.1', 'doc/roundup-server.1'])
Or were you thinking of something else?
Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFAMW46rGisBEHG6TARAo0HAJ9kF8UGNy/0zWaf2/GRpCC+bIfT+QCeLpKu
QkIAxdCNhU+M9oH9VEC47qo=
=hFCY
-----END PGP SIGNATURE-----
More information about the Zope3-dev
mailing list