aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DEV_README82
1 files changed, 82 insertions, 0 deletions
diff --git a/DEV_README b/DEV_README
index ccd06bb..d115463 100644
--- a/DEV_README
+++ b/DEV_README
@@ -193,4 +193,86 @@ language bindings for C libraries based on Eo (E Object) library,
-DELM_INTERNAL_API_ARGESFSDFEFC=1
+* EO repository for Python
+ initial eorepo package will be installed with eoparser package.
+ Layout:
+ eorepo /
+ eobase.so
+ eodefault.so
+ __init__.py
+ EoBase.xml
+ eobase.pxd
+ eobase.c
+ eodefault.pxd
+ eodefault.c
+
+
+ When generating cython files for some module:
+ - all classes are parsed
+ - EoBase will be parent for some classes,
+ so EoBase will be imported from eorepo.eobase
+ also eodeafault will be cimported from eorepo.eobase.
+
+ but we need to provide mechanism to import modules for any case.
+
+ following packages will be also installed into eorepo folder.
+
+ 1. Correct layout should be like this:
+
+ eorepo /
+ eobase /
+ c_eobase.so
+ eodefault.so
+ __init__.py
+ import eodefault
+ eodefault.eo_init()
+ from eorepo.eobase.c_eobase import EoBase
+ evas /
+ c_evas.so
+ __init__.py
+ from eorepo.evas.c_evas import EvasObj
+ elementary /
+ c_elementary.so
+ __init__.py # this can be autogenerated
+ from eorepo.elementary.c_elementary import ElmWin
+
+
+ elementary class, which depends on EvasClass
+ must be able to find path and module to import this EvasClass.
+ T.e. must do: from eorepo.evas.c_evas import EvasClass.
+
+ in some file:
+ C
+
+
+ usage:
+ import eorepo.elementary - #this will activate __init__
+ #in elementary folder, and will
+ # import ElmWin from c_elementary into elementary
+ # so eorepo.elementary.ElmWin can be used
+ # or like this
+ from eorepo.elementary import ElmWin
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+