[issue11805] package_data only allows one glob per-package

Éric Araujo report at bugs.python.org
Wed Jan 18 16:03:19 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

I figured it would let people comment on the syntax I propose more easily if I extracted it from the patch.  Here’s the example:

  package_data =
      cheese = data/templates/* doc/*
        doc/images/*.png

We have a package name, equals sign, then specs/globs separated by whitespace, including newlines (without any indent rules for the continuation lines, the code just adds them to the last seen package name if there is no equals sign in the lign).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11805>
_______________________________________


More information about the Python-bugs-list mailing list