Exclude the pyc, pyo files and __pycache__ directories from packaging (thanks to Kevin Brown).
Merge pull request #1812 from linovia/bugfix/1804

Fix #1804