view pycaptcha/setup.py @ 115:b84a0d009af8

changes on pipeline mecanism: we now sample a different complexity for each transformations, this because when we use the same sampled complexity for all the modules 1/8 of the time we are close to 0 and we obtain an image very close to the source, we now save a complexity for each module in the parameters array
author Xavier Glorot <glorotxa@iro.umontreal.ca>
date Wed, 17 Feb 2010 16:20:15 -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',
           ],
       )],
       )