Flask-Bootstrap packages Bootstrap into an extension that mostly consists of a blueprint named ‘bootstrap’. It can also create links to serve Bootstrap from a CDN.
pip install flask-bootstrap
For development, clone the official github repository instead and use:
python setup.py develop
The latest major version of Bootstrap as of this writing is Bootstrap 3. A branch of Flask-Bootstrap supporting version 2 is still supported, see the page on Using Bootstrap 2 for details.
Flask-Bootstrap tries to keep some track of Bootstrap releases. Versioning is usually in the form of Bootstrap version.``Flask-Bootstrap iteration``. For example, a version of 184.108.40.206 bundles Bootstrap version 2.0.3 and is the second release of Flask-Bootstrap containing that version.
If you need to rely on your templates not changing, simply pin the version in your setup.py.