-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 27.09.2011 23:27, wrote j98789 hotmail:
> success, FINALLY!!!

Congrats.

> I followed the mypage plugin example. [...]
>  
> Still I have no clue what is really going on but it is nice that I can
> let something happen now :-)

I know, was there, done similar things. Anyway there is at least another
common pattern for the entry point configuration:

in setup.py:
...
version=VERSION,
packages=['HelloWorldPlugin'],
entry_points={'trac.plugins': 'helloworld = helloworld'},
)

ls ./plugin_dev/
helloworld
setup.py

ls ./plugin_dev/helloworld/
__init__.py
helloworld.py

in __init__.py:
# -*- coding: utf-8 -*-
#
from helloworld import HelloWorldPlugin

That's all about declaring a point, where Trac could hook in and start
to load plugin code. Maybe this helps, a little. Keep on studying plugin
source code, to get a grip on this an other things.

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6CRmcACgkQ31DJeiZFuHejKACeMCz5VCnHIw+EEW0Ab4zI/AIr
uyIAoNfRWpfdV/NTmUmbK6drcpm5QwnR
=n7yo
-----END PGP SIGNATURE-----
_______________________________________________
th-users mailing list
th-users@lists.trac-hacks.org
https://lists.trac-hacks.org/mailman/listinfo/th-users

Reply via email to