> Anyway inevitably there will be packages not available for python3,
(legacy)

and newer packages will not be available for python2
(because they leverage py3 features)


On Fri, Jan 16, 2015 at 9:28 AM, 'Terry Brown' via leo-editor
<leo-editor@googlegroups.com> wrote:
> This thread has inspired me to get things working in Python3, i.e. Leo
> plus all the plugins I use.
>
> I have PyQt5 installed in Python3, so this includes fixing Qt4/5 stuff.
>
> Notes so far:
>
> paramiko is a package for Ubuntu 14.04 for 2.7 but not 3, no big deal,
> pip3 can install it.
>
> I've been loading the deceased plugin 'qtframecommands' from the .pyc
> file for who knows how long.  :-)
>
> The livecode plugin uses https://pypi.python.org/pypi/meta, but this
> happens
>
>   leo-editor:0> sudo pip3 install meta
>   Downloading/unpacking meta
>     Downloading meta-0.4.1.tar.gz (45kB): 45kB downloaded
>     Running setup.py (path:/tmp/pip_build_root/meta/setup.py) egg_info
>   for package meta
>   Installing collected packages: meta
>     Running setup.py install for meta
>
>       Installing depyc script to /usr/local/bin
>         File
>   "/usr/local/lib/python3.4/dist-packages/meta/bytecodetools/print_code.py",
>   line 12 print instr ^
>       SyntaxError: invalid syntax
>
> odd that pip thinks it's available for py3.
>
> I think Leo's livecode plugin would be much better without the meta
> dependency, it's being used for ast object to source code conversion,
> maybe livecode could adequately guess at the code from the input code.
> I.e. given input of "d[2][3:7] = 6*7" meta handles the recreation of
> the d[2][3:7] part on the output side, I think.
>
> Anyway inevitably there will be packages not available for python3,
> not a surprise.
>
> Cheers -Terry
>
> --
> You received this message because you are subscribed to the Google Groups 
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at http://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to