view pycaptcha/setup.py @ 163:4b28d7382dbf

Add inital implementation of datasets. For the moment only nist_digits is defined.
author Arnaud Bergeron <abergeron@gmail.com>
date Thu, 25 Feb 2010 18:40:01 -0500
parents 4775b4195b4b
children
line wrap: on
line source

#!/usr/bin/env python
from distutils.core import setup
from setup.my_install_data import *

setup (name = "PyCAPTCHA",
       version = "0.4",
       description = "A Python framework for CAPTCHA tests",
       maintainer = "Micah Dowty",
       maintainer_email = "micah@navi.cx",
       license = "MIT",
       packages = [
           'Captcha',
           'Captcha.Visual',
       ],
       cmdclass = {
           'install_data': my_install_data,
       },
       data_files = [Data_Files(
           preserve_path = 1,
           base_dir      = 'install_lib',
           copy_to       = 'Captcha/data',
           strip_dirs    = 2,
           template      = [
               'graft Captcha/data',
           ],
       )],
       )