Show
Ignore:
Timestamp:
04/12/07 17:38:04 (15 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

rupy slides, starting up

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pycommunity/pycommunity/doc/configuration.txt

    r68 r78  
    77 
    88    >>> from configuration import Configuration 
    9     >>> config = Configuration('pycommunity.conf') 
     9    >>> config = Configuration('tests/pycommunity.conf') 
    1010 
    1111packages, recipes, and tutorials folders can be read with  
     
    1919    [('tuts', 'tests/svn/project/tutorials')]  
    2020    >>> config.glossary 
    21     'tests/svn/project/doc/glossary.txt' 
     21    '/etc/pycommunity/glossary.txt' 
    2222    >>> packages = config.packages.items() 
    2323    >>> packages.sort() 
     
    2929    >>> templates.sort() 
    3030    >>> templates 
    31     [('css', 'templates/pycommunity.css'),  
    32      ('glossary', 'templates/glossary.pt'),  
    33      ('index', 'templates/index.pt'),  
    34      ('js', 'templates/pycommunity.js'), 
    35      ('packagedoc', 'templates/packagedoc.pt'),  
    36      ('packageindex', 'templates/packageindex.pt'),  
    37      ('packagesindex', 'templates/packagesindex.pt'),  
    38      ('packagestats', 'templates/packagestats.pt'),  
    39      ('recipe', 'templates/recipe.pt'),  
    40      ('recipelist', 'templates/recipelist.pt'),  
    41      ('tutorial', 'templates/tutorial.pt'),  
    42      ('tutoriallist', 'templates/tutoriallist.pt')]     
     31    [('css', 'tests/templates/pycommunity.css'),  
     32     ('glossary', 'tests/templates/glossary.pt'),  
     33     ('index', 'tests/templates/index.pt'),  
     34     ('js', 'tests/templates/pycommunity.js'), 
     35     ('packagedoc', 'tests/templates/packagedoc.pt'),  
     36     ('packageindex', 'tests/templates/packageindex.pt'),  
     37     ('packagesindex', 'tests/templates/packagesindex.pt'),  
     38     ('packagestats', 'tests/templates/packagestats.pt'),  
     39     ('recipe', 'tests/templates/recipe.pt'),  
     40     ('recipelist', 'tests/templates/recipelist.pt'),  
     41     ('tutorial', 'tests/templates/tutorial.pt'),  
     42     ('tutoriallist', 'tests/templates/tutoriallist.pt')]     
    4343    >>> config.media 
    44     'templates/media' 
     44    'tests/templates/media' 
    4545    >>> 'projectname' in config.options 
    4646    True