py2app picking up .git subdir of a package during build
问题 We use py2app extensively at our facility to produce self contained .app packages for easy internal deployment without dependency issues. Something I noticed recently, and have no idea how it began, is that when building an .app, py2app started including the .git directory of our main library. commonLib, for instance, is our root python library package, which is a git repo. Under this package are the various subpackages such as database, utility, etc. commonLib/ |- .git/ # because commonLib