Hi,

While trying to set up Travis testing for Python 3 and sympy, I
noticed that there does not seem to be a current python3-sympy for
Ubuntu 12.04, and that easy_install fails with a python 3 syntax
error.

Testing an sdist archive from the 0.7.2 branch:

python setup.py sdist
workon python32 # activate python3 virtualenv
easy_install dist/sympy-0.7.1-git.tar.gz # install from generated sdist

gives:

  File 
"/var/folders/jg/jgfZ12ZXHwGSFKD85xLpLk+++TI/-Tmp-/easy_install-p_wdi6/sympy-0.7.1-git/sympy/__init__.py",
line 34, in <module>
ImportError: This is the Python 2 version of SymPy. To use SymPy with
Python 3, please obtain a Python 3 version from http://sympy.org, or
use the bin/use2to3 script if you are using the git version.

I could not see a python 3 download via sympy.org, and the bin/use2to3
is not in the sdist.

I'm afraid I don't know pypi well enough to know if you can have
separate python 2 and python 3 sdists - is this the plan?

I think I missed the discussion about this - but is it possible to put
the application of the 2to3 script in setup.py in order to avoid this
problem?

http://docs.python.org/py3k/howto/pyporting.html#during-installation

Thanks for any pointers,

Matthew

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to