New issue 37 by philipe.rp: Add a setup.py to project, and get syntax error
on install
http://code.google.com/p/deseb/issues/detail?id=37
What steps will reproduce the problem?
1. Add attached setup.py to src directory on trunk
2. Run setup.py
I get follow error when try to install:
src $ python setup.py install --prefix=~/django-related/python-libs/
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/deseb
copying deseb/__init__.py -> build/lib/deseb
copying deseb/schema_evolution.py -> build/lib/deseb
running install_lib
creating
/home/felipe.prenholato/django-related/python-libs/lib/python2.5/site-packages/deseb
copying build/lib/deseb/__init__.py ->
/home/felipe.prenholato/django-related/python-libs//lib/python2.5/site-packages/deseb
copying build/lib/deseb/schema_evolution.py ->
/home/felipe.prenholato/django-related/python-libs//lib/python2.5/site-packages/deseb
byte-compiling
/home/felipe.prenholato/django-related/python-libs//lib/python2.5/site-packages/deseb/__init__.py
to __init__.pyc
byte-compiling
/home/felipe.prenholato/django-related/python-libs//lib/python2.5/site-packages/deseb/schema_evolution.py
to schema_evolution.pyc
/home/felipe.prenholato/django-related/python-libs//lib/python2.5/site-packages/deseb/schema_evolution.py:731:
Warning: 'as' will become a reserved keyword in Python 2.6
File
"/home/felipe.prenholato/django-related/python-libs//lib/python2.5/site-packages/deseb/schema_evolution.py",
line 731
except NotNullColumnNeedsDefaultException as e:
^
SyntaxError: invalid syntax
running install_egg_info
Removing
/home/felipe.prenholato/django-related/python-libs//lib/python2.5/site-packages/deseb-svn-py2.5.egg-info
Writing
/home/felipe.prenholato/django-related/python-libs//lib/python2.5/site-packages/deseb-svn-py2.5.egg-info
I suggest that you start using one setup.py install file too :)
Attachments:
setup.py 253 bytes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings