| OLD | NEW |
| (Empty) | |
| 1 #!/usr/bin/python |
| 2 |
| 3 import sys |
| 4 from distutils.core import setup, Extension |
| 5 |
| 6 |
| 7 def main(): |
| 8 if sys.version_info[0] != 2: |
| 9 sys.stderr.write('This backport is for Python 2.x only.\n') |
| 10 sys.exit(1) |
| 11 |
| 12 ext = Extension('_posixsubprocess', ['_posixsubprocess.c'], |
| 13 depends=['_posixsubprocess_helpers.c']) |
| 14 |
| 15 setup( |
| 16 name='subprocess32', |
| 17 version='3.2.6', |
| 18 description='Backport of the subprocess module from Python 3.2/3.3 for use
on 2.x.', |
| 19 long_description=""" |
| 20 This is a backport of the subprocess standard library module from |
| 21 Python 3.2 & 3.3 for use on Python 2.4, 2.5, 2.6 and 2.7. |
| 22 It includes bugfixes and new features. On POSIX systems it is |
| 23 guaranteed to be reliable when used in threaded applications. |
| 24 Bonus: It includes timeout support from Python 3.3.""", |
| 25 license='PSF license', |
| 26 |
| 27 maintainer='Gregory P. Smith', |
| 28 maintainer_email='greg@krypto.org', |
| 29 url='http://code.google.com/p/python-subprocess32/', |
| 30 |
| 31 ext_modules=[ext], |
| 32 py_modules=['subprocess32'], |
| 33 ) |
| 34 |
| 35 |
| 36 if __name__ == '__main__': |
| 37 main() |
| OLD | NEW |