#2899: Plugin load order
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: high | Milestone:
Component: general | Version: 0.9.3
Severity: major | Resolution:
Keywords: |
----------------------------------+-----------------------------------------
Comment (by athomas):
The setuptools dependency listings could presumably be used for this:
{{{
#!python
setup(name='TracHacks',
version='0.1',
packages=['trachacks'],
entry_points={'trac.plugins': 'TracHacks = trachacks'},
install_requires=['TracXMLRPC', 'TracAccountManager'],
)
}}}
Perhaps Trac could inspect dependencies, or hook the require()
functionality somehow (not sure this is actually possible from looking at
the setuptools documentation).
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2899>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets