Closed pvicente closed 12 years ago
Um, how am I supposed to fix this? Is there a virtualenv issue for this?
You are right
1.8 (2012-09-01)
Fix --relocatable when a script uses future imports. Thanks Branden Rolston.
It has been fixed recently.
http://pypi.python.org/pypi/virtualenv
I will open an issue on Heroku Platform they are using virtualenv 1.7.2
On heroku platform virtualenvs are relocatable (--relocatable parameter) and it add an activation line at the top of bottle.py file and the import line
from __future__ import with_statement
dumps an exception like it:Exception
Steps to reproduce this problem
Original File bottle.py
With virtualenv --relocatable