| •1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 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 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 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 :: 3.9 |
| 36 |
Programming Language :: Python :: 3.10 |
| 37 |
Programming Language :: Python :: 3.11 |
| 38 |
Programming Language :: Python :: 3.12 |
| 39 |
Programming Language :: Python :: 3.13 |
| 40 |
Programming Language :: Python :: Implementation :: CPython |
| 41 |
Operating System :: OS Independent |
| 42 |
Operating System :: POSIX |
| 43 |
Operating System :: MacOS :: MacOS X |
| 44 |
""" |
| 45 |
classifiers = [s.strip() for s in classes.split('\n') if s] |
| 46 |
|
| 47 |
|
| •48 |
if sys.version_info.major < 3 \ |
| •49 |
or (sys.version_info.major == 3 and sys.version_info.minor < 9 ): |
| 50 |
sys.stderr.write("Only Python 3.9 and above are supported.") |
| 51 |
sys.exit(1) |
| 52 |
|
| 53 |
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.""" |
| 54 |
|
| 55 |
setup(name='pyqi', |
| 56 |
version=__version__, |
| 57 |
license=__license__, |
| 58 |
description='pyqi: expose your interface', |
| 59 |
long_description=long_description, |
| 60 |
author=__maintainer__, |
| 61 |
author_email=__email__, |
| 62 |
maintainer=__maintainer__, |
| 63 |
maintainer_email=__email__, |
| 64 |
url='http://bipy.github.io/pyqi', |
| 65 |
packages=['pyqi', |
| 66 |
'pyqi/commands', |
| 67 |
'pyqi/core', |
| 68 |
'pyqi/core/interfaces', |
| 69 |
'pyqi/core/interfaces/optparse', |
| 70 |
'pyqi/core/interfaces/html', |
| 71 |
'pyqi/interfaces', |
| 72 |
'pyqi/interfaces/optparse', |
| 73 |
'pyqi/interfaces/html', |
| 74 |
'pyqi/interfaces/optparse/config', |
| 75 |
'pyqi/interfaces/html/config', |
| 76 |
], |
| 77 |
scripts=glob('scripts/pyqi*'), |
| 78 |
install_requires=[], |
| 79 |
extras_require={'test':["nose >= 0.10.1", |
| 80 |
"tox >= 1.6.1"], |
| 81 |
'doc':"Sphinx >= 0.3" |
| 82 |
}, |
| 83 |
classifiers=classifiers |
| 84 |
) |