implement python packaging best practices
fix missing requirements
combine two install commands into one
upstream 4.1.2