On Friday, December 4, 2015 at 10:48:28 AM UTC+1, Jeroen Demeyer wrote:
>
> On 2015-12-03 23:39, Jean-Pierre Flori wrote:
> > So my questions are:
> > * why does Cython complains whereas it was able to find the pxd file
> > (just next to the pxi file)?
> Because .pxd files are more like Pytho
On 2015-12-03 23:39, Jean-Pierre Flori wrote:
So my questions are:
* why does Cython complains whereas it was able to find the pxd file
(just next to the pxi file)?
Because .pxd files are more like Python modules (except cimported
instead of imported). They are found in sys.path for example.
Hello,
> Create a directory and put a bla.pyx file with:
> include "sage/libs/ntl/decl.pxi"
> or
> from sage.rings.integer cimport Integer
>
> From the Sage run:
> import pyximport
> pyximport.install()
> import bla
Oh. I see. Well, I can' t tell about 'pyximport' but '%runfile
bla.pyx' apparentl
Create a directory and put a bla.pyx file with:
include "sage/libs/ntl/decl.pxi"
or
from sage.rings.integer cimport Integer
>From the Sage run:
import pyximport
pyximport.install()
import bla
Boom.
On Friday, December 4, 2015 at 7:48:45 AM UTC+1, Nathann Cohen wrote:
>
> Could you share a "minim
Could you share a "minimal non-working example" with us?
Nathann
On 3 December 2015 at 23:39, Jean-Pierre Flori wrote:
> Dear all,
>
> I'm trying to make an easily distributable small package for Sage.
> Basically I'd like the user to untar the files in some directory, launch
> Sage, run "import
On 03/12/15 19:39, Jean-Pierre Flori wrote:
Dear all,
I'm trying to make an easily distributable small package for Sage.
Basically I'd like the user to untar the files in some directory, launch
Sage, run "import bla" or "load("bla.???")" and voilĂ .
Why not make a .spkg? The user would have t
Dear all,
I'm trying to make an easily distributable small package for Sage.
Basically I'd like the user to untar the files in some directory, launch
Sage, run "import bla" or "load("bla.???")" and voilĂ .
I need to compile a bunch of pyx files and it does not seem that crafting a
spyx file and l