Debian Codegraph @

setup.py

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 #!/usr/bin/env python
2
3 #-----------------------------------------------------------------------------
4 # Copyright (c) 2013, The BiPy Development Team.
5 #
6 # Distributed under the terms of the Modified BSD License.
7 #
8 # The full license is in the file COPYING.txt, distributed with this software.
9 #-----------------------------------------------------------------------------
10
11 __author__ = "Greg Caporaso"
12 __copyright__ = "Copyright 2013, The pyqi project"
13 __credits__ = ["Rob Knight", "Greg Caporaso", "Jai Ram Rideout",
14 "Daniel McDonald", "Doug Wendel"]
15 __license__ = "BSD"
16 __version__ = '0.3.2'
17 __maintainer__ = "Greg Caporaso"
18 __email__ = "[email protected]"
19
20 from setuptools import setup
21 from glob import glob
22 import sys
23
24 # classes/classifiers code adapted from Celery:
25 # https://github.com/celery/celery/blob/master/setup.py
26 #
27 # PyPI's list of classifiers can be found here:
28 # https://pypi.python.org/pypi?%3Aaction=list_classifiers
29 classes = """
30 Development Status :: 4 - Beta
31 License :: OSI Approved :: BSD License
32 Topic :: Software Development :: Libraries :: Application Frameworks
33 Topic :: Software Development :: User Interfaces
34 Programming Language :: Python
35 Programming Language :: Python :: 2.7
36 Programming Language :: Python :: 3.3
37 Programming Language :: Python :: Implementation :: CPython
38 Operating System :: OS Independent
39 Operating System :: POSIX
40 Operating System :: MacOS :: MacOS X
41 """
42 classifiers = [s.strip() for s in classes.split('\n') if s]
43
44 # Verify Python version
45 ver = '.'.join(map(str, [sys.version_info.major, sys.version_info.minor]))
46 if ver not in ['2.7', '3.3']:
47 sys.stderr.write("Only Python 2.7 and 3.3 are supported.")
48 sys.exit(1)
49
50 long_description = """pyqi (canonically pronounced pie chee) is a Python framework designed to support wrapping general commands in multiple types of interfaces, including at the command line, HTML, and API levels."""
51
52 setup(name='pyqi',
53 version=__version__,
54 license=__license__,
55 description='pyqi: expose your interface',
56 long_description=long_description,
57 author=__maintainer__,
58 author_email=__email__,
59 maintainer=__maintainer__,
60 maintainer_email=__email__,
61 url='http://bipy.github.io/pyqi',
62 packages=['pyqi',
63 'pyqi/commands',
64 'pyqi/core',
65 'pyqi/core/interfaces',
66 'pyqi/core/interfaces/optparse',
67 'pyqi/core/interfaces/html',
68 'pyqi/interfaces',
69 'pyqi/interfaces/optparse',
70 'pyqi/interfaces/html',
71 'pyqi/interfaces/optparse/config',
72 'pyqi/interfaces/html/config',
73 ],
74 scripts=glob('scripts/pyqi*'),
75 install_requires=[],
76 extras_require={'test':["nose >= 0.10.1",
77 "tox >= 1.6.1"],
78 'doc':"Sphinx >= 0.3"
79 },
80 classifiers=classifiers
81 )