Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: third_party/pexpect/setup.py

Issue 1398903002: Add third_party/pexpect (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@end-to-end-test
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/pexpect/setup.cfg ('k') | third_party/pexpect/tests/PexpectTestCase.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # encoding: utf-8
2 from distutils.core import setup
3 import os
4 import re
5
6 with open(os.path.join(os.path.dirname(__file__), 'pexpect', '__init__.py'), 'r' ) as f:
7 for line in f:
8 version_match = re.search(r"__version__ = ['\"]([^'\"]*)['\"]", line)
9 if version_match:
10 version = version_match.group(1)
11 break
12 else:
13 raise Exception("couldn't find version number")
14
15 long_description = """
16 Pexpect is a pure Python module for spawning child applications; controlling
17 them; and responding to expected patterns in their output. Pexpect works like
18 Don Libes' Expect. Pexpect allows your script to spawn a child application and
19 control it as if a human were typing commands.
20
21 Pexpect can be used for automating interactive applications such as ssh, ftp,
22 passwd, telnet, etc. It can be used to a automate setup scripts for duplicating
23 software package installations on different servers. It can be used for
24 automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
25 Pexpect is pure Python.
26
27 The main features of Pexpect require the pty module in the Python standard
28 library, which is only available on Unix-like systems. Some features—waiting
29 for patterns from file descriptors or subprocesses—are also available on
30 Windows.
31 """
32
33 setup (name='pexpect',
34 version=version,
35 packages=['pexpect'],
36 description='Pexpect allows easy control of interactive console applications .',
37 long_description=long_description,
38 author='Noah Spurrier; Thomas Kluyver; Jeff Quast',
39 author_email='noah@noah.org; thomas@kluyver.me.uk; contact@jeffquast.com',
40 url='http://pexpect.readthedocs.org/',
41 license='ISC license',
42 platforms='UNIX',
43 classifiers = [
44 'Development Status :: 5 - Production/Stable',
45 'Environment :: Console',
46 'Intended Audience :: Developers',
47 'Intended Audience :: System Administrators',
48 'License :: OSI Approved :: ISC License (ISCL)',
49 'Operating System :: POSIX',
50 'Operating System :: MacOS :: MacOS X',
51 'Programming Language :: Python',
52 'Programming Language :: Python :: 2.6',
53 'Programming Language :: Python :: 2.7',
54 'Programming Language :: Python :: 3',
55 'Topic :: Software Development',
56 'Topic :: Software Development :: Libraries :: Python Modules',
57 'Topic :: Software Development :: Quality Assurance',
58 'Topic :: Software Development :: Testing',
59 'Topic :: System',
60 'Topic :: System :: Archiving :: Packaging',
61 'Topic :: System :: Installation/Setup',
62 'Topic :: System :: Shells',
63 'Topic :: System :: Software Distribution',
64 'Topic :: Terminals',
65 ],
66 install_requires=['ptyprocess>=0.5'],
67 )
OLDNEW
« no previous file with comments | « third_party/pexpect/setup.cfg ('k') | third_party/pexpect/tests/PexpectTestCase.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698