Metadata-Version: 1.0
Name: flask-stylus2css
Version: 0.1
Summary: A small Flask extension that adds Stylus support to Flask.
Home-page: https://github.com/weapp/flask-stylus2css
Author: Manuel Albarran
Author-email: UNKNOWN
License: MIT
Description: 
        flask-stylus2css
        ================
        
        A small Flask extension that makes it easy to use Stylus with your Flask application.
        
        Usage
        -----
        
        You can activate it by calling the ``stylus2css`` function with your Flask app as a parameter:
        
              from flaskext.stylus2css import stylus2css
              stylus2css(app, css_folder='css', stylus_folder='src/stylus')
        
        This will intercept the request to ``css_folder`` and compile de file if is necesary using the files from ``stylus_folder``.
        
        When you deploy your app you might not want to accept the overhead of checking the modification time of your ``.stylus`` and ``.css`` files on each request. A simple way to avoid this is wrapping the stylus2css call in an if statement:
        
              if app.debug:
                  from flaskext.stylus2css import stylus2css
                  stylus2css(app)
                  
        If you do this you'll be responsible for rendering the ``.stylus`` files into ``.css`` when you deploy in non-debug mode to your production server.
        
        
        - documentation_
        - development_
        
        
        .. _documentation: https://github.com/weapp/flask-stylus2css
        .. _development: https://github.com/weapp/flask-stylus2css
        
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
