annotate data_generation/transformations/pycaptcha/setup.py @ 618:14ba0120baff

review response changes
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Sun, 09 Jan 2011 14:13:23 -0500
parents 1f5937e9e530
children
rev   line source
87
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
1 #!/usr/bin/env python
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
2 from distutils.core import setup
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
3 from setup.my_install_data import *
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
4
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
5 setup (name = "PyCAPTCHA",
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
6 version = "0.4",
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
7 description = "A Python framework for CAPTCHA tests",
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
8 maintainer = "Micah Dowty",
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
9 maintainer_email = "micah@navi.cx",
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
10 license = "MIT",
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
11 packages = [
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
12 'Captcha',
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
13 'Captcha.Visual',
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
14 ],
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
15 cmdclass = {
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
16 'install_data': my_install_data,
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
17 },
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
18 data_files = [Data_Files(
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
19 preserve_path = 1,
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
20 base_dir = 'install_lib',
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
21 copy_to = 'Captcha/data',
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
22 strip_dirs = 2,
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
23 template = [
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
24 'graft Captcha/data',
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
25 ],
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
26 )],
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
27 )
4775b4195b4b code pour la generation de captchas
goldfinger
parents:
diff changeset
28