Updates:
Status: Accepted
Cc: [email protected]
Labels: Python3
Comment #1 on issue 2890 by [email protected]: use2to3 Error on Windows
http://code.google.com/p/sympy/issues/detail?id=2890
Ok, so, it fails when trying to convert some files from Lib\, which are not
related to SymPy, and this can fail for any number of reasons. One reason
this could be happening is that you are running the script from some random
directory (or eg. from the Run dialog) -- the script relies on being called
from the "root" directory of the sympy source (ie. the directory which
contains the setup.py file). In fact, this is definitely an error - it
should recognize when not in the right place and gracefully exit (else it
can try to copy your entire hard disk or something similarly evil). I'll
try to write up a patch for it.
Aaron, this is something I didn't foresee when I was creating the initial
script and it might start causing bigger problems than I can fix. As I'm
almost done with converting the script to use git ls-files, do you think it
would be ok to completely remove the "old" method and require git to run
the script? It will make things easier and simpler in the long run, and I
think it would be ok: users who need Python 3 should either download the
py3k tarball or use the git version (I don't really expect someone who
downloaded a py2 version to go poking around where it's installed just to
convert the code to py3k, it's easier to just download a new version).
Thoughts?
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en.