[Python-apps-team] Bug#674073: Bug#674073: (no subject)

Yaroslav Halchenko debian at onerussian.com
Thu Jul 19 01:04:17 UTC 2012


> Just a quick reply because I'm interested in being able to import Cython in my
> Python 3 library's setup.py.

d'oh -- I just now recalled that I have forgotten to revert my
original revert removing cython3 packaging from Bradley... reverted and
committed now

> It's a bit non-standard to have cython and cython3 packages, but it's probably
> too much work (or maybe infeasible, I haven't looked) to split the package
> into a python-cython, python3-cython, and cython packages where the first two
> would be the importable Cython library for Python 2 and 3, while the latter
> would contain the 'cython' script.

> I'd vote for cython3 unless a split is easy.

I am not sure if the gain worth a pain ;)  If I were to split something
away I would split all binaries (including /bin/*) into a separate
-lib/ext module... but since arch-agnostic .py's etc seems to be only
~3M while binaries >8M -- still not sure if worth the dance

> For question #2, `cython --help` shows both a -2 and -3 option to generate the
> appropriate version of code.  I'm not sure if you need both a cython and
> cython3 script in that case, although I guess the latter would default to
> `cython -3`.  Of course, I'd rather it just generate Python 3 code by default,
> but that's just me. :)

> I'll try the patch against 0.16 in Ubuntu and follow up later.

do you have 0.16 already?  any patches for fixing failing tests (I am
yet to either figure them out or just bisect since seems many to
be fixed upstream):

https://buildd.debian.org/status/package.php?p=cython&suite=experimental

> I want a
> Python 3 version in Ubuntu 12.10 even if it's blocked temporarily for Debian
> Wheezy's freeze.

hopefully we would 'stabilize' it in experimental as well ;)

I haven't yet ran my magical script to see which build-dependees get
broken by 0.16 ;)

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Python-apps-team mailing list