diff options
author | njsmith <njs@pobox.com> | 2013-03-05 12:20:10 -0800 |
---|---|---|
committer | njsmith <njs@pobox.com> | 2013-03-05 12:20:10 -0800 |
commit | 9311fb7e861e2c8eb686abded01c059b49f0b5e4 (patch) | |
tree | 042f0111af21c91c8160037d4b5ceba01baacd53 /numpy/distutils/core.py | |
parent | 3ba223e867dd6a2bda130d0630ee9aad3c32ae97 (diff) | |
parent | baeaeac6885d67238321101863a7753d366c535e (diff) | |
download | numpy-9311fb7e861e2c8eb686abded01c059b49f0b5e4.tar.gz |
Merge pull request #3120 from charris/2to3-remove-raw_input
2to3:DEP: Remove interactive setup and gnu compiler configuration.
Diffstat (limited to 'numpy/distutils/core.py')
-rw-r--r-- | numpy/distutils/core.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/numpy/distutils/core.py b/numpy/distutils/core.py index 092ea4442..f450b1564 100644 --- a/numpy/distutils/core.py +++ b/numpy/distutils/core.py @@ -104,24 +104,8 @@ def get_distribution(always=False): dist = NumpyDistribution() return dist -def _exit_interactive_session(_cache=[]): - if _cache: - return # been here - _cache.append(1) - print('-'*72) - raw_input('Press ENTER to close the interactive session..') - print('='*72) - def setup(**attr): - if len(sys.argv)<=1 and not attr.get('script_args',[]): - from interactive import interactive_sys_argv - import atexit - atexit.register(_exit_interactive_session) - sys.argv[:] = interactive_sys_argv(sys.argv) - if len(sys.argv)>1: - return setup(**attr) - cmdclass = numpy_cmdclass.copy() new_attr = attr.copy() |