Changeset 189:8100d67665d7
- Timestamp:
- 09/30/07 19:45:05 (11 months ago)
- Author:
- tziade@…
- Message:
-
eggified
- Location:
- captcha/src
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r186
|
r189
|
|
| 43 | 43 | return word.strip() |
| 44 | 44 | |
| 45 | | def gen_captcha(text, fnt, fnt_sz): |
| | 45 | def gen_captcha(text, fnt=random.choice(fonts), fnt_sz=35): |
| 46 | 46 | """Generate a captcha image""" |
| 47 | 47 | fgcolor = random.randint(0, 0xffff00) |
-
|
r186
|
r189
|
|
| 42 | 42 | install_requires=[ |
| 43 | 43 | # -*- Extra requirements: -*- |
| | 44 | 'PIL', |
| | 45 | ], |
| | 46 | dependency_links = [ |
| | 47 | 'http://www.effbot.org/downloads', |
| 44 | 48 | ], |
| 45 | 49 | entry_points=""" |