summaryrefslogtreecommitdiff
path: root/numpy/distutils/interactive.py
Commit message (Collapse)AuthorAgeFilesLines
* 2to3:DEP: Remove interactive setup and gnu compiler configuration.Charles Harris2013-03-051-190/+0
| | | | | | | | | | | | | | | | | | | | | | These havn't been deprecated, but I think few have heard of them, much less used them. Before this change, running setup.py without any arguments would result in interactive help. This patch removes that interactive help and lets setup print its usual list of commands and options. All the script uses of the numpy/distutils/fcompiler compilers look quite broken to me, but I have tried to maintain compatibility with the earlier version of gnu.py after the removal of `raw_input`. These removals solve an incompatibility between Python3 and Python2. The current interactive setup help uses `raw_input`, which has been removed in python3 and replaced by `input`. However, python2 already has an `input` that has different semantics. Rather than deal with this, I think it simpler to keep both `raw_input` and `input` out of numpy. Closes #3063 Closes #3079
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+2
| | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates.
* 2to3: Use modern exception syntax.Charles Harris2013-02-261-2/+2
| | | | Example: except ValueError,msg: -> except ValueError as msg:
* Fix issue 715.Pearu Peterson2008-04-101-5/+6
|
* Replace numpy.distutils.exec_command.splitcmdline with shlex.split instead.cookedm2007-12-261-2/+2
| | | | | | | | It has the same problems as our old numpy.distutils.ccompiler.split_quoted. splitcmdline still exists, but uses shlex.split, and issues a DeprecationWarning This has the positive side effect of not having numpy.distutils pulled in when numpy is imported -- there was a use of splitcmdline in numpy.testing.
* Undo changeset 3839: interactive support is being used (this convinient on ↵Pearu Peterson2007-06-011-0/+187
| | | | windows where one can click on setup.py and build the numpy or whatever package in 2 keystrokes).
* Remove interactive support. No one uses it.cookedm2007-05-281-187/+0
|
* merge from distutils-revamp branch (step 2)cookedm2007-05-251-1/+1
| | | | | | - fcompiler changes. All flags, executables, etc., should be overridable by the user with config_fc (either command line or setup.cfg) or by environment variables
* Whitespace cleanup.Stefan van der Walt2007-01-081-5/+3
|
* Minor bug fix in interactive sys.argv set feature.Pearu Peterson2006-04-241-0/+3
|
* Fixed the order of setup commands.Pearu Peterson2006-04-201-3/+5
|
* Added configure alias to interactive sys.argv setter, number of minor ↵Pearu Peterson2006-04-201-17/+35
| | | | improvements.
* Completed impl. of interactive setting of sys.argv.Pearu Peterson2006-04-191-21/+122
|
* New feature: interactively set sys.argv when setup.py is called without ↵Pearu Peterson2006-04-191-0/+65
arguments. At the moment the feature only can show system/platform/fcompiler information..