Changeset 189:8100d67665d7

Show
Ignore:
Timestamp:
09/30/07 19:45:05 (11 months ago)
Author:
tziade@…
Message:

eggified

Location:
captcha/src
Files:
6 added
2 modified

Legend:

Unmodified
Added
Removed
  • captcha/src/captcha/captcha.py

    r186 r189  
    4343    return word.strip() 
    4444 
    45 def gen_captcha(text, fnt, fnt_sz): 
     45def gen_captcha(text, fnt=random.choice(fonts), fnt_sz=35): 
    4646    """Generate a captcha image""" 
    4747    fgcolor = random.randint(0, 0xffff00) 
  • captcha/src/setup.py

    r186 r189  
    4242      install_requires=[ 
    4343          # -*- Extra requirements: -*- 
     44          'PIL', 
     45      ], 
     46      dependency_links = [ 
     47         'http://www.effbot.org/downloads', 
    4448      ], 
    4549      entry_points="""