I was not proud of the hack i wrote in the previous PR so here is a proper python package.
This repo is now installable with pip. I would suggest (as in the README i changed) to install it with pip install -e .. This installs the package in editable mode so you can experiment in the /turbo directory and have your changed taken into account without having to re-install the package.
This should also solve the problem where code in /experiments/* could not import turbo as it was in a parent directory.
Edit: this also enables anybody to pip install git://github.com/hotwire-django/turbo-django.git in their own project and then import turbo.
I was not proud of the hack i wrote in the previous PR so here is a proper python package.
This repo is now installable with pip. I would suggest (as in the README i changed) to install it with
pip install -e .
. This installs the package in editable mode so you can experiment in the/turbo
directory and have your changed taken into account without having to re-install the package.This should also solve the problem where code in
/experiments/*
could notimport turbo
as it was in a parent directory.Edit: this also enables anybody to
pip install git://github.com/hotwire-django/turbo-django.git
in their own project and thenimport turbo
.