I am deploying my site to heroku. After successfully creating a virtualenv, I ran into a problem when installing django-toolbelt using "pip install django-toolbelt" in this virtualenv.
At first, everything is fine, until:
Running setup.py install for static
File "/home/administrator/env2/env2_env/lib/python3.2/site-packages/static.py", line 104
if full_path[-1] <> '/' or full_path == self.root:
^
SyntaxError: invalid syntax
Installing static script to /home/administrator/env2/env2_env/bin
Successfully installed django-toolbelt django psycopg2 gunicorn dj-database-url dj-static static
Cleaning up...
I know the cause of the error is the comparison operator <>
is invalid in python3.2. What I concern about is whether the installation succeed or not although the display on screen is "successfully installed django-toolbelt ...".
If not, what can I do to fix this issue? Thanks.