Work on Python 2.6 and Python 2.7.
pip install http://github.com/yograterol/flask-bundle-system/zipball/master
or
pip install flask-bundle-system
In the blueprint files or modules files:
from flask import Blueprint
# Define blueprint with name "bundle"
bundle = Blueprint(...)
In the main file:
from flask_bundlesystem import BundleSystem
# Define the Flask App
app = Flask(__name__)
# Get the current main dir path for the app.
path = ...
with app.app_context():
# Register all blueprint as bundles.
BundleSystem(path)
python setup.py nosetests