On Apr 6, 2009, at 8:31 AM, Lennart Regebro wrote:

2009/4/6 David Cournapeau <da...@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



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

Reply via email to