2013/4/8 Vasiliy Tolstov <[email protected]>

> I'm try to compile python-efl, but get error when compile via cython.
> Readme says that python compile also possible, but setup.py contain
> check and exists ahen compile not it cython.
>

Seems to me you have an old cython, need at least version 0.17.3.

to compile (both cython and python-efl) just run:
  python setup.py install (as root, or using sudo)



> My error is:
>
> Compiling efl/elementary/window.pyx because it changed.
> Cythonizing efl/edje/efl.edje.pyx
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
>         unsigned short double_width   # if the codepoint is merged
> with the following cell to the right visually (cells must be in pairs
> with 2nd cell being a duplicate in all ways except codepoint is 0) */
>
>     Evas_Object *evas_object_textgrid_add(Evas *e)
>     void evas_object_textgrid_size_set(Evas_Object *obj, int w, int h)
>     void evas_object_textgrid_size_get(const_Evas_Object *obj, int *w, int
> *h)
>     void evas_object_textgrid_font_source_set(Evas_Object *obj, const
> char *font_source)
>                                                                           ^
> ------------------------------------------------------------
>
> include/efl.evas.pxd:828:75: Expected ')', found '*'
> Traceback (most recent call last):
>   File "setup.py", line 232, in <module>
>     ext_modules = cythonize(modules, include_path=["include"]),
>   File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py",
> line 667, in cythonize
>     cythonize_one(*args[1:])
>   File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py",
> line 731, in cythonize_one
>     raise CompileError(None, pyx_file)
> Cython.Compiler.Errors.CompileError: efl/edje/efl.edje.pyx
>
>
> --
> Vasiliy Tolstov,
> e-mail: [email protected]
> jabber: [email protected]
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to