PyWebpack is on PyPI so all you need is:
$ pip install pywebpack
PyWebpack is dependent on NodeJS, NPM and Webpack.
Webpack integration layer for Python.