We need to do the normal Python dance: make a virtual environment and install our dependencies. We also need to download the two files from Hyperapp.

We want to show going an extra step and get the packages for a development environment that matches some of the webpack-devserver auto-build/reload.

Virtual Environment

This one is obvious:

$ python3 -m venv .env
$ .env/bin/pip install --upgrade pip setuptools


We need Transcrypt, obviously. We’re also going to use Bottle connected to the Python livereload package to watch for changes and reload the browser:


We’re picking a specific livereload version to avoid a bug.

Let’s also get our two JS files, Hyperapp itself and a Hyperapp HTML helper package (as an alternative to JSX):

$ wget
$ wget