[Distutils] Deprecate MANIFEST.in
Leonardo Santagada
santagada at gmail.com
Mon Apr 6 16:17:03 CEST 2009
On Apr 6, 2009, at 8:31 AM, Lennart Regebro wrote:
> 2009/4/6 David Cournapeau <david at ar.media.kyoto-u.ac.jp>:
>> python setup.py sdist # put everything under svn into the tarball
>> cd dist && uncompress tarball && python setup.py sdist # the
>> tarball is
>> not the same
>
> Why not?
It will be missing the .hg,.svn or whatever it used to generate the
file list.
I think the non magic way would be to have a tool to extract a file
listing from (d)vcs and using that to generate a file, or maybe the
api be made so that you have to explicitly put "file_list =
distutils.generate_files_hg()" somewhere, then it is not magic
anymore, and changing is just creating a list or a function that
returns a list.
--
Leonardo Santagada
santagada at gmail.com
More information about the Distutils-SIG
mailing list