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

Unified Diff: tools/telemetry/third_party/subprocess32/setup.py

Issue 1323303002: [Telemetry] Add timeout to telemetry run_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/third_party/subprocess32/setup.py
diff --git a/tools/telemetry/third_party/subprocess32/setup.py b/tools/telemetry/third_party/subprocess32/setup.py
new file mode 100755
index 0000000000000000000000000000000000000000..07d9c374af644c442f29295b827fd9d8876802fb
--- /dev/null
+++ b/tools/telemetry/third_party/subprocess32/setup.py
@@ -0,0 +1,37 @@
+#!/usr/bin/python
+
+import sys
+from distutils.core import setup, Extension
+
+
+def main():
+ if sys.version_info[0] != 2:
+ sys.stderr.write('This backport is for Python 2.x only.\n')
+ sys.exit(1)
+
+ ext = Extension('_posixsubprocess', ['_posixsubprocess.c'],
+ depends=['_posixsubprocess_helpers.c'])
+
+ setup(
+ name='subprocess32',
+ version='3.2.6',
+ description='Backport of the subprocess module from Python 3.2/3.3 for use on 2.x.',
+ long_description="""
+This is a backport of the subprocess standard library module from
+Python 3.2 & 3.3 for use on Python 2.4, 2.5, 2.6 and 2.7.
+It includes bugfixes and new features. On POSIX systems it is
+guaranteed to be reliable when used in threaded applications.
+Bonus: It includes timeout support from Python 3.3.""",
+ license='PSF license',
+
+ maintainer='Gregory P. Smith',
+ maintainer_email='greg@krypto.org',
+ url='http://code.google.com/p/python-subprocess32/',
+
+ ext_modules=[ext],
+ py_modules=['subprocess32'],
+ )
+
+
+if __name__ == '__main__':
+ main()
« no previous file with comments | « tools/telemetry/third_party/subprocess32/setup.cfg ('k') | tools/telemetry/third_party/subprocess32/subprocess32.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698