Changes between Version 18 and Version 19 of EggCookingTutorial/BasicEggCooking
- Timestamp:
- Mar 20, 2006, 1:30:41 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EggCookingTutorial/BasicEggCooking
v18 v19 23 23 ./helloworld-plugin/ 24 24 ./helloworld-plugin/helloworld/ 25 ./helloworld-plugin/TracHelloworld.egg-info/26 25 }}} 27 26 … … 81 80 VERSION = '0.1' 82 81 83 setup(name=PACKAGE, version=VERSION, packages=['helloworld']) 84 }}} 85 86 To make the egg loadable in Trac we need to create one more file. In ''./helloworld-plugin/!TracHelloworld.egg-info/'' create the file ''trac_plugin.txt'': 87 {{{ 88 helloworld 82 setup(name=PACKAGE, 83 version=VERSION, 84 packages=['helloworld'], 85 entry_points={'trac.plugins': '%s = helloworld' % PACKAGE}, 86 ) 89 87 }}} 90 88