This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 gsakkis
收信人 gsakkis, tarek
日期 2009-02-17.22:32:12
SpamBayes Score 1.3447757e-07
Marked as misclassified
Message-id <1234909934.56.0.127417684931.issue5302@psf.upfronthosting.co.za>
In-reply-to
内容
Currently each glob defined in package_data must match files only; if it
matches a directory, it raises an exception later when calling
copy_file(). This means that a glob like 'mydata/*' will fail if there
is any subdirectory under 'mydata'. One simple useful change would be to
allow a glob match a directory and interpret it as a recursive inclusion
of the directory.

A more general feature request (perhaps a separate ticket) would be to
port to setup() the logic currently expressed in MANIFEST.in. In the
long term, MF.in should IMO be deprecated because (a) it's a second file
one has to remember to write and maintain in addition to setup.py (b)
has its own ad-hoc syntax instead of python and (c) overlaps in scope
with package_data and data_files of setup.py. The exact API exposing
MF.in's functionality can be decided after (and if) there is consensus
on deprecating/replacing it.
历史
日期 用户 动作 参数
2009-02-17 22:32:14gsakkis修改recipients: + gsakkis, tarek
2009-02-17 22:32:14gsakkis修改messageid: <1234909934.56.0.127417684931.issue5302@psf.upfronthosting.co.za>
2009-02-17 22:32:13gsakkis链接issue5302 messages
2009-02-17 22:32:12gsakkis创建