summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/setup.py
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-08-03 14:33:06 +0000
committerpatrick <patrick@openbsd.org>2020-08-03 14:33:06 +0000
commit061da546b983eb767bad15e67af1174fb0bcf31c (patch)
tree83c78b820819d70aa40c36d90447978b300078c5 /gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/setup.py
parentImport LLVM 10.0.0 release including clang, lld and lldb. (diff)
downloadwireguard-openbsd-061da546b983eb767bad15e67af1174fb0bcf31c.tar.xz
wireguard-openbsd-061da546b983eb767bad15e67af1174fb0bcf31c.zip
Import LLVM 10.0.0 release including clang, lld and lldb.
ok hackroom tested by plenty
Diffstat (limited to 'gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/setup.py')
-rw-r--r--gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/setup.py71
1 files changed, 71 insertions, 0 deletions
diff --git a/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/setup.py b/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/setup.py
new file mode 100644
index 00000000000..4e61e795c2a
--- /dev/null
+++ b/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/setup.py
@@ -0,0 +1,71 @@
+# encoding: utf-8
+from distutils.core import setup
+import os
+import re
+import sys
+
+if any(a == 'bdist_wheel' for a in sys.argv):
+ from setuptools import setup
+
+with open(os.path.join(os.path.dirname(__file__), 'pexpect', '__init__.py'), 'r') as f:
+ for line in f:
+ version_match = re.search(r"__version__ = ['\"]([^'\"]*)['\"]", line)
+ if version_match:
+ version = version_match.group(1)
+ break
+ else:
+ raise Exception("couldn't find version number")
+
+long_description = """
+Pexpect is a pure Python module for spawning child applications; controlling
+them; and responding to expected patterns in their output. Pexpect works like
+Don Libes' Expect. Pexpect allows your script to spawn a child application and
+control it as if a human were typing commands.
+
+Pexpect can be used for automating interactive applications such as ssh, ftp,
+passwd, telnet, etc. It can be used to a automate setup scripts for duplicating
+software package installations on different servers. It can be used for
+automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
+Pexpect is pure Python.
+
+The main features of Pexpect require the pty module in the Python standard
+library, which is only available on Unix-like systems. Some features—waiting
+for patterns from file descriptors or subprocesses—are also available on
+Windows.
+"""
+
+setup(name='pexpect',
+ version=version,
+ packages=['pexpect'],
+ package_data={'pexpect': ['bashrc.sh']},
+ description='Pexpect allows easy control of interactive console applications.',
+ long_description=long_description,
+ author='Noah Spurrier; Thomas Kluyver; Jeff Quast',
+ author_email='noah@noah.org, thomas@kluyver.me.uk, contact@jeffquast.com',
+ url='https://pexpect.readthedocs.io/',
+ license='ISC license',
+ platforms='UNIX',
+ classifiers = [
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Console',
+ 'Intended Audience :: Developers',
+ 'Intended Audience :: System Administrators',
+ 'License :: OSI Approved :: ISC License (ISCL)',
+ 'Operating System :: POSIX',
+ 'Operating System :: MacOS :: MacOS X',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: 3',
+ 'Topic :: Software Development',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ 'Topic :: Software Development :: Quality Assurance',
+ 'Topic :: Software Development :: Testing',
+ 'Topic :: System',
+ 'Topic :: System :: Archiving :: Packaging',
+ 'Topic :: System :: Installation/Setup',
+ 'Topic :: System :: Shells',
+ 'Topic :: System :: Software Distribution',
+ 'Topic :: Terminals',
+ ],
+ install_requires=['ptyprocess>=0.5'],
+)