On 01/19/2015 12:39 AM, Nick Coghlan wrote:
> On 19 January 2015 at 11:59, Ben Finney <ben+pyt...@benfinney.id.au> wrote:
>> Nick Coghlan <ncogh...@gmail.com> writes:
> I actually misunderstood your question. If you're just after the
> ability to say "I want to include this file in the sdist, but not in
> the built wheel file or installed distribution" (as I now believe you
> are), then you're in the implementation defined world of the
> significantly underspecified sdist format. I believe setting that up
> actually *is* possible already, but have no idea what incantation
> you'll need to pass to setuptools to make it do it (and the docs are
> unlikely to be a reliable guide).

This is actually quite easy, its a distutils feature not a setuptools
one, and it works as documented. Just put the file in MANIFEST (or add a
MANIFEST.in rule matching it), but don't reference it in any of the
various setup.py kwargs that cause things to be installed.

Carl

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to