87
|
1 #!/usr/bin/env python
|
|
2 from distutils.core import setup
|
|
3 from setup.my_install_data import *
|
|
4
|
|
5 setup (name = "PyCAPTCHA",
|
|
6 version = "0.4",
|
|
7 description = "A Python framework for CAPTCHA tests",
|
|
8 maintainer = "Micah Dowty",
|
|
9 maintainer_email = "micah@navi.cx",
|
|
10 license = "MIT",
|
|
11 packages = [
|
|
12 'Captcha',
|
|
13 'Captcha.Visual',
|
|
14 ],
|
|
15 cmdclass = {
|
|
16 'install_data': my_install_data,
|
|
17 },
|
|
18 data_files = [Data_Files(
|
|
19 preserve_path = 1,
|
|
20 base_dir = 'install_lib',
|
|
21 copy_to = 'Captcha/data',
|
|
22 strip_dirs = 2,
|
|
23 template = [
|
|
24 'graft Captcha/data',
|
|
25 ],
|
|
26 )],
|
|
27 )
|
|
28
|