Le 12/05/16 à 20:21, Julien Muchembled a écrit : > So I plan to create only 3 new packages in DPMT: > - python-btrees > - python-zc.customdoctests > - zodbpickle
I am also preparing an update for python-persistent. But for all that, I followed https://wiki.debian.org/Python/GitPackaging and there's no indication about gitignore'd files and the *.egg-info directory. 1. Both upstream repositories have a .gitignore file at the root (ignoring *.egg-info among other files) but on PyPI: - BTrees-4.3.1.tar.gz contains it - persistent-4.2.2.tar.gz does not contain it I also have a ~/.gitignore file that ignores *.egg-info/ anyway. 2. The last release of zc.customdoctests is quite old and the tarball contain a egg-info folder that differs slightly to what the new setuptools generates, which is the source of bugs like #825921 Having generated files in Git is not great. 1 thing at a time so just simple questions: - Should the 'Creating a new package' paragraph on the wiki says 'git add -f .' instead of 'git add .' ? - It's quite obvious that ~/.gitignore should be ignored, but is it also the case for the one that may be in the tarball ? - Do we always want *.egg-info directories in Git ? Meanwhile, the wiki should also recommend to add the following line to debian/source/options: extend-diff-ignore="\.egg-info/" Julien
signature.asc
Description: OpenPGP digital signature