Fix packaging
Packaging was broken under a number of different scenarios, including DOCS=off, and python != 3.6.
Reported by: sunpoet