Got the following error trying out BowerStatic with Python 3.4.2:
Traceback (most recent call last):
File "run.py", line 1, in <module>
from app import app
File "/Users/matt/py-stuff/someproject/app/__init__.py", line 60, in <module>
bower = bowerstatic.Bower()
File "/Users/matt/venvs/someproject/lib/python3.4/site-packages/bowerstatic/core.py", line 18, in __init__
self._renderer = Renderer()
File "/Users/matt/venvs/someproject/lib/python3.4/site-packages/bowerstatic/renderer.py", line 8, in __init__
self.register('.js', render_js)
File "/Users/matt/venvs/someproject/lib/python3.4/site-packages/bowerstatic/renderer.py", line 16, in register
self._renderers[ext] = make_renderer(renderer)
File "/Users/matt/venvs/someproject/lib/python3.4/site-packages/bowerstatic/renderer.py", line 35, in make_renderer
if isinstance(renderer, basestring):
NameError: name 'basestring' is not defined
It can be worked-around for the time being by monkey-patching renderer.py:
Got the following error trying out BowerStatic with Python 3.4.2:
It can be worked-around for the time being by monkey-patching renderer.py: