Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / third_party / Python / module / pexpect-4.6 / setup.py
blob4e61e795c2af93065a5e5ab3bb1b1ee420d69a51
1 # encoding: utf-8
2 from distutils.core import setup
3 import os
4 import re
5 import sys
7 if any(a == 'bdist_wheel' for a in sys.argv):
8 from setuptools import setup
10 with open(os.path.join(os.path.dirname(__file__), 'pexpect', '__init__.py'), 'r') as f:
11 for line in f:
12 version_match = re.search(r"__version__ = ['\"]([^'\"]*)['\"]", line)
13 if version_match:
14 version = version_match.group(1)
15 break
16 else:
17 raise Exception("couldn't find version number")
19 long_description = """
20 Pexpect is a pure Python module for spawning child applications; controlling
21 them; and responding to expected patterns in their output. Pexpect works like
22 Don Libes' Expect. Pexpect allows your script to spawn a child application and
23 control it as if a human were typing commands.
25 Pexpect can be used for automating interactive applications such as ssh, ftp,
26 passwd, telnet, etc. It can be used to a automate setup scripts for duplicating
27 software package installations on different servers. It can be used for
28 automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
29 Pexpect is pure Python.
31 The main features of Pexpect require the pty module in the Python standard
32 library, which is only available on Unix-like systems. Some features—waiting
33 for patterns from file descriptors or subprocesses—are also available on
34 Windows.
35 """
37 setup(name='pexpect',
38 version=version,
39 packages=['pexpect'],
40 package_data={'pexpect': ['bashrc.sh']},
41 description='Pexpect allows easy control of interactive console applications.',
42 long_description=long_description,
43 author='Noah Spurrier; Thomas Kluyver; Jeff Quast',
44 author_email='noah@noah.org, thomas@kluyver.me.uk, contact@jeffquast.com',
45 url='https://pexpect.readthedocs.io/',
46 license='ISC license',
47 platforms='UNIX',
48 classifiers = [
49 'Development Status :: 5 - Production/Stable',
50 'Environment :: Console',
51 'Intended Audience :: Developers',
52 'Intended Audience :: System Administrators',
53 'License :: OSI Approved :: ISC License (ISCL)',
54 'Operating System :: POSIX',
55 'Operating System :: MacOS :: MacOS X',
56 'Programming Language :: Python',
57 'Programming Language :: Python :: 2.7',
58 'Programming Language :: Python :: 3',
59 'Topic :: Software Development',
60 'Topic :: Software Development :: Libraries :: Python Modules',
61 'Topic :: Software Development :: Quality Assurance',
62 'Topic :: Software Development :: Testing',
63 'Topic :: System',
64 'Topic :: System :: Archiving :: Packaging',
65 'Topic :: System :: Installation/Setup',
66 'Topic :: System :: Shells',
67 'Topic :: System :: Software Distribution',
68 'Topic :: Terminals',
70 install_requires=['ptyprocess>=0.5'],