2011/2/2 Hartmut Goebel <h.goe...@goebel-consult.de>

> Am 02.02.2011 15:00, schrieb nap:
> > Why not, but it will complexify the import pass (not a huge problem)
> > and sys.path management (more buggy part) a lot if there are too much
> > of them. It should be easier to read too. What cut do you propose
> exactly?
> Why does this complexify the sys.path handling? I'm not talking about
> sub-direcories, but about sub-packages. This only difference will be the
> import statements.
>

I was thinking to sub-packages too :p and was thinking the same about diff
only in the import statements.

same could be done for the modules : just introduce a __init__.py in
shinken/modules and voilà you can load the modules anywhere in shinken
without playing with sys.path I think..

now as I previously said this should/can be done part per part and then it
should be "easy" to do it..  but first we need to agree on what to
subpackages and with what exact hierarchy..  I think Jean is the best placed
to see that.. ;)

waiting answers/comments..

greg



>
> If we *may* introduce namespace packages some when, there may be some
> path frickling. But we can think about this some when later.
>
> I can not suggest a sensefull split, since I did not understand the code
> good enough ;-)
>
> --
> Schönen Gruß - Regards
> Hartmut Goebel
> Dipl.-Informatiker (univ.), CISSP, CSSLP
>
> Goebel Consult
> Spezialist für IT-Sicherheit in komplexen Umgebungen
> http://www.goebel-consult.de
>
> Monatliche Kolumne: http://www.cissp-gefluester.de/
> Goebel Consult mit Mitglied bei http://www.7-it.de
>
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to