Changes between Version 18 and Version 19 of EggCookingTutorial/BasicEggCooking


Ignore:
Timestamp:
Mar 20, 2006, 2:30:41 AM (9 years ago)
Author:
athomas
Comment:

Updated for latest setuptools

Legend:

Unmodified
Added
Removed
Modified
  • EggCookingTutorial/BasicEggCooking

    v18 v19  
    2323./helloworld-plugin/
    2424./helloworld-plugin/helloworld/
    25 ./helloworld-plugin/TracHelloworld.egg-info/
    2625}}}
    2726
     
    8180VERSION = '0.1'
    8281
    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
     82setup(name=PACKAGE,
     83      version=VERSION,
     84      packages=['helloworld'],
     85      entry_points={'trac.plugins': '%s = helloworld' % PACKAGE},
     86)
    8987}}}
    9088