Commit Graph

42 Commits

Author SHA1 Message Date
Davide Andreoli f2b7c24f7a Python-EFL: some little and stupid cleanup to setup.py and some additions to MANIFEST.in
* 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__
2013-10-16 22:35:44 +02:00
Kai Huuhko 3b95ccd069 Facilitate creating a source tarball with 'setup.py sdist' command.
setup.py was modified to work with the generated package.

TODO: Include Sphinx documentation.
2013-10-16 21:31:50 +03:00
Kai Huuhko c574a76ce9 setup.py: Recognize commands 'sdist' and 'bdist' 2013-10-16 16:30:08 +03:00
Kai Huuhko f5fbb90e42 setup.py: Don't print current Cython version. 2013-10-15 15:17:33 +03:00
Kai Huuhko 5f4a46da4b Move common conversion functions from efl.eo to efl.utils.conversions 2013-10-01 04:56:28 +03:00
Kai Huuhko 4f96a2b096 Update TODOs 2013-09-25 02:39:04 +03:00
Kai Huuhko 88db824a77 Change the _METHOD_DEPRECATED function into a decorator.
- move the decorator into a new package/module: utils/deprecated
 - simplify setup.py logic slightly, it still needs work
2013-09-20 12:01:50 +03:00
Davide Andreoli 50a70d2933 Python-EFL: fix the cython version check
If the cython import fail than min_ver is never defined and the except will fail badly
2013-09-15 12:59:39 +02:00
Kai Huuhko 4249715066 Add the define EFL_BETA_API_SUPPORT for Eo. 2013-07-26 18:45:43 +03:00
Kai Huuhko 94896f625d Complete renaming edbus -> eldbus. 2013-05-06 22:36:09 +03:00
Kai Huuhko 7b77e37b8c Add an example for installing to a custom prefix to the INSTALL file and
drop the Cython required version to 0.17.0.
2013-05-04 17:18:54 +00:00
Davide Andreoli 2b7a9c7030 Python-EFL: follow the eldbus rename. 2013-05-01 23:13:26 +02:00
Davide Andreoli 8219a6a52b Python-EFL: Check the minimum cython version 2013-04-28 15:53:09 +02:00
Kai Huuhko 0d63acbee9 Elementary: Implement Accessible objects, with cbs TODO later. 2013-04-22 20:20:21 +03:00
Kai Huuhko 285856ea03 Elementary: Initial implementation for Store. Still needs work on
creating the data struct, maybe using memoryviews.

Includes some internal changes for Genlist.
2013-04-22 20:12:28 +03:00
Davide Andreoli 9d85805b13 Python-EFL: Implemented EdjeEdit API, with full unit tests.
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.
2013-04-14 13:08:15 +02:00
Davide Andreoli 5c10701aa2 Python-EFL: remove old/unused file adn a fix for sutup.py
setup.py: commented out the command_options param,
it break the Sphinx 'fake' class that is used when sphinx
is not found.
2013-04-09 22:11:06 +02:00
Kai Huuhko 79022bf27b Convert dbus_mainloop C code to Cython. 2013-04-07 17:41:10 +03:00
Davide Andreoli 0a32be475a Python-EFL: first working dbus mainloop wrapper.
This one don't require edbus2 nor the old e_dbus, it reimplement
the dbus connection stuff that was in e_dbus (the old) in a
py module.
2013-04-06 12:46:52 +02:00
Davide Andreoli 7cd00bb793 Python-EFL: whops, forgot an efreet ref 2013-04-03 17:31:15 +02:00
Davide Andreoli 307a27022b Python-EFL: remove the efreet bindings.
We don't need them, just use pyxdg if you need fdo standards.
2013-04-03 14:34:38 +02:00
Davide Andreoli 14e05b7b19 Python-EFL: setup.py small improvements
* added the Cython annotate options (off by default)
 * removed build_sphinx, just use make_doc
 * moved pkg_config function on top
 * removed embedsignature option
2013-04-03 14:18:22 +02:00
Kai Huuhko aff266e08a Fix pkg-config error message so it doesn't always show Evas. 2013-03-31 15:09:50 +00:00
Kai Huuhko 4a157cb0a2 Add more skeletal work for Efreet.
Uri, base and trash should be fully usable now.
2013-03-29 16:36:16 +00:00
Kai Huuhko 9dca72f3c1 Revert a change to setup.py logic and add a clarifying comment. 2013-03-28 17:49:20 +00:00
Davide Andreoli 77dc3551fa Python-EFL: cleanup a little setup.py, INSTALL and TODO 2013-03-27 21:18:24 +01:00
Kai Huuhko 175701e56f Change the libs/includes to a sane minimal configuration which should
still satisfy even cippp's crazy cflags.
2013-03-23 16:33:32 +00:00
Kai Huuhko 10ec0a39d8 Link directly to evas as well. 2013-03-23 14:31:19 +00:00
Kai Huuhko 0f0b798b24 Link to eina in all extensions. 2013-03-23 14:10:39 +00:00
Kai Huuhko 04a38c813c Add eina to setup.py pkg-config for eo. 2013-03-23 13:55:12 +00:00
Kai Huuhko 6614553385 python-efl: Disable edbus (v2) bindings build until we come up with a
better solution.


SVN revision: 84449
2013-03-18 20:18:37 +00:00
Kai Huuhko 31b757f51b python-efl: Initial work on Efreet bindings.
SVN revision: 84426
2013-03-12 08:24:49 +00:00
Kai Huuhko e02e6491d4 python-efl: Skip build related code in setup.py when only generating
documentation.


SVN revision: 84399
2013-03-01 14:06:38 +00:00
Kai Huuhko 26902af425 python-efl: Initial work on edbus bindings.
Still needs the setup function that takes an existing connection to work 
properly.


SVN revision: 84395
2013-02-28 16:13:07 +00:00
Kai Huuhko 73f358ce47 python-efl: Apparently the builder option is not additive so let's use
html by default.


SVN revision: 84341
2013-02-24 14:10:06 +00:00
Kai Huuhko 2ce957823a python-efl: Enable documentation coverage analysis.
Building docs with this enabled you'll find simple .txt files in 
build/sphinx/coverage dir.


SVN revision: 84340
2013-02-24 13:23:33 +00:00
Kai Huuhko 6def8c3adb python-efl: Re-enable minimum version test once again.
SVN revision: 84105
2013-02-19 10:38:08 +00:00
Kai Huuhko 743a747a30 python-efl: Add Sphinx documentation files.
SVN revision: 84096
2013-02-19 09:53:30 +00:00
Davide Andreoli 50cf3b0a0a Python-EFL: make ecore Exe and FdHandler py3 friendly. svn ignore++
SVN revision: 84029
2013-02-17 20:53:51 +00:00
Kai Huuhko 53e832d0af python-efl: Committing changes to setup.py forgotten from last commit
SVN revision: 84028
2013-02-17 19:50:37 +00:00
Davide Andreoli 454d967f84 Python-EFL: Cleanup and enable compilation of emotion, cleaned also the test.
SVN revision: 83931
2013-02-14 23:05:55 +00:00
Davide Andreoli 8b86398860 Put in a first, still wip, version of the python bindings in a merged tree.
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
2013-02-11 22:32:50 +00:00