you could call a simple bash script in a git hook that syncs your MANIFEST.in with your .gitignore. Something like: echo -n "exclude " > MANIFEST.in cat .gitignore | tr '\n' ' ' >> MANIFEST.in echo "graft $(readlink -f ./keep/this)" >> MANIFEST.in https://docs.python.org/2/distutils/sourcedist.html#commands On 1 Mar 2021 06:05, Abdur-Rahmaan Janhangeer <arj.pyt...@gmail.com> wrote:
Greetings list, SInce i have a .gitignore, how do i exclude all files and folders listed by my gitignore? How do i include everything by default? Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list