The old efl.ecore.so module renamed to __init__.so which gets
automatically used for the package namespace when there is an empty
__init__.py included.
pyx source files are now used only when USE_CYTHON is set to 1 or the
C source files have not yet been pre-compiled.
Only efl.eo.c is checked for this so if you cancel an initial build make
sure to enable USE_CYTHON when re-starting the build.
The pyx sources will now be included in the source tarball.
This require the Cython "embedsignature" directive, that automatically add the signature in the first line of the docstring.
Then the Sphinx Autodoc module parse the docstring and extract the signature.
Signature is also cleaned using the 'autodoc-process-signature' callback to remove the 'self' param and all the cython params type,
* raised version to 1.9.0
* removed versions from docs conf, they now comes automatically from setup.py
* updated some years around
* added a favicon to the docs
Image.image_data_memoryview_get was disabled.
This method can be added back once we figure out how to do conditional
compilation using Python version.
Using an evas.Image instance as a memoryview object should do the same
thing as the disabled method.
* Fix clean_generated_files to also include utils
* change format() usage to simple str concat...just to hurt kuuko :)
* remove the usless check for __main__
Some stuff is not working on the C side, the unit test is full
of FIXME and TODO. The biggest problem is the PartState that
do not work at all, I will give a short look at this, but I'm
not so much intrested atm...If you want/need to help please
let me know.
* added the Cython annotate options (off by default)
* removed build_sphinx, just use make_doc
* moved pkg_config function on top
* removed embedsignature option
This is meant to be the 1.8 version of the wrappers and will include everything
that now is in the python folder.
Atm this include evas, ecore, edje, elementary and emotion (emotion still commented
in the build couse it need some more testing). Eo is used as a base for all the
objects that inherit from it in C, but in real nothing is used from Eo, it is
used more like a container to share code between the libs.
All the docs has been stripped out because we want to use the new sphinx style
docs that Kay has done in his git repo. (Kay: please wait a little bit to include
it, as working on the libs without docs is much more easy)
The new wrappers include a new container module called efl and thus you can live
with both the old and the new installation. This also means that you need to import
the new modules as:
"from efl import evas" (instead of the old "import evas")
The idea here is that you can make your code works with both version doing
something like:
try:
import evas
except:
from efl import evas
...like is done in the gtk bindings
Some stuff has been leaved out on purpose, because was old stuff (like the hacked
evas rotation stuff) or because was not working as expected (like all the ecore.evas.XXX
modules). See the TODO.txt file for more info. Probably some stuff is out just because I
missed them, let me know if you miss something.
Improvements from the old version:
- Py3 compatible (still some work to be done, but really only TODO, no problems to resolv)
- Should also works on other platforms, like windoz (but not tested)
- Unittests greatly improved, you can also run ALL tests at once
- much more simpler :)
I will contine the works in the next weeks and hope someone will help too.
NOTE: I switched back to setup.py instead of autotools, because that is the right way to
compile python stuff. So to build just use:
python setup.py install
or
python3 setup.py install
Enjoy
davemds
SVN revision: 83831