This was creating all sort of issues, because the efl modules in sources
are not meant to work. And installation from sdist using pip was
complainig about efl not found (because it build in a restricted env)
So just read the __init__.py file and extract the version from there
(to be DRY)
clang seems much better in building elementary, while gcc need a lot
of ram and tend to fail badly
So for now on clang is the suggested compiler to use
This just refactor how the extensions are named, nothing
is changed in the final layout of the package.
Renamed the dbus extension, that was indeed the only
one with a different naming scheme.
Also raised the minimum cython version a bit, min is
now at 0.23.5, that is still quite old. The oldest
ones seems to not like the new naming scheme.
In some system we saw the compilation fail with this error:
efl/eo/efl.eo.c:1137:60: error: format not a string literal and no format arguments [-Werror=format-security]
EINA_LOG_DOM_INFO(__pyx_v_3efl_2eo_PY_EFL_EO_LOG_DOMAIN, __pyx_k_Initializing_efl_eo);
so just ignore those warnings
It's now super easy to perform various network task in a full efl fashion.
Implemented "Lookup" for dns query and "Url" to perform http requests.
"Server" will come soon.
Comes with quite complete docs, examples and unit tests
**SPANK SPANK SPANK!!** Dave has been naughty.
build_ext must be imported from Cython in order for options like
--cython-dbg to be understood by the setup script.
cpdef enums are automatically exported to C and
to python, no more need for the enums file and
the duplicated definition for py.
This is a cython 0.21 feature so from now on you will
need at least that version.
Require some <int> cast here and there, but a totally
win in the end.
Now ecore do not more looks like an alien with his __init__
hack and his different module/package structure
This broke ecore.x users as the extension is now efl.ecore_x
Sorry to bother but I still think that ecore_x should not be
implemented in python, if this hurt you please let me know
* Cython is disable by default in dist tarballs (checking if Makefile exists)
* Cython is enabled by default in git version
* Only blacklist Cython in py3 (it is broken only there)
* Now respect two env vars: DISABLE_CYTHON or ENABLE_CYTHON
* Always use LooseVersion for checking Cython version