Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2to3: Apply `print` fixer. | Charles Harris | 2013-04-06 | 4 | -12/+12 |
| | | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078. | ||||
* | 2to3: Apply `imports` fixer. | Charles Harris | 2013-04-02 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `imports` fixer deals with the standard packages that have been renamed, removed, or methods that have moved. cPickle -- removed, use pickle commands -- removed, getoutput, getstatusoutput moved to subprocess urlparse -- removed, urlparse moved to urllib.parse cStringIO -- removed, use StringIO or io.StringIO copy_reg -- renamed copyreg _winreg -- renamed winreg ConfigParser -- renamed configparser __builtin__ -- renamed builtins In the case of `cPickle`, it is imported as `pickle` when python < 3 and performance may be a consideration, but otherwise plain old `pickle` is used. Dealing with `StringIO` is a bit tricky. There is an `io.StringIO` function in the `io` module, available since Python 2.6, but it expects unicode whereas `StringIO.StringIO` expects ascii. The Python 3 equivalent is then `io.BytesIO`. What I have done here is used BytesIO for anything that is emulating a file for testing purposes. That is more explicit than using a redefined StringIO as was done before we dropped support for Python 2.4 and 2.5. Closes #3180. | ||||
* | 2to3: Add `from __future__ import ...` to some files that were missed. | Charles Harris | 2013-03-28 | 4 | -5/+14 |
| | | | | | | | With the exception of numpy/distutils/tests/test_exec_command.py, all of these files are script files in tools/osxbuild and tools/win32build. The import in the script files omits `absolute_import` as they are not part of a package. | ||||
* | 2to3: Remove xreadlines and replace f.readlines() by f where valid. | Charles Harris | 2013-03-05 | 1 | -1/+1 |
| | | | | | | | | | | An open file `f` has been an iterator since python2.3 and `f.xreadlines()` is no longer needed, so replace it with `f`. Also replace `f.readlines()` with `f` where an iterator will do. The replacement of `f.readlines()` is not critical because it is a list in both python2 and python3, but the code is a bit cleaner. Closes #3093 | ||||
* | 2to3: Updata `except Exception, msg:` syntax in files not in numpy/ . | Charles Harris | 2013-02-27 | 2 | -2/+2 |
| | | | | This should finish the updating of the exception syntax. | ||||
* | add .gitattributes and fix line endings | Darren Dale | 2010-10-31 | 1 | -183/+183 |
| | |||||
* | REL: re-enable SSE2 binary in the superpack. | David Cournapeau | 2009-11-30 | 1 | -19/+19 |
| | |||||
* | REL: only build nosse and sse3 binaries. | David Cournapeau | 2009-11-22 | 1 | -20/+20 |
| | |||||
* | Add the x86analysis.py script to check instructions set in win binaries. | David Cournapeau | 2009-03-28 | 1 | -0/+161 |
| | |||||
* | Remove python 2.3, add 2.6 for build scripts on windows. | David Cournapeau | 2009-03-12 | 1 | -1/+1 |
| | |||||
* | Add script to build msvcrt90 on mingw-w64. | David Cournapeau | 2009-02-26 | 2 | -0/+842 |
| | |||||
* | Add /arch option to superpack installer to override detected arch. | David Cournapeau | 2008-12-04 | 1 | -0/+62 |
| | |||||
* | Update doall script: take the python version to build binaries from the ↵ | David Cournapeau | 2008-10-03 | 1 | -7/+19 |
| | | | | command line instead of global variable. | ||||
* | reindenting prior to release | Jarrod Millman | 2008-09-02 | 2 | -3/+3 |
| | |||||
* | Fix typo in build script for win32. | David Cournapeau | 2008-08-13 | 1 | -1/+1 |
| | |||||
* | Handle MSI builds + python 2.3 for win32 build script. | David Cournapeau | 2008-08-02 | 1 | -4/+23 |
| | |||||
* | Handle python version in prepare_bootstrap script. | David Cournapeau | 2008-08-01 | 1 | -1/+1 |
| | |||||
* | Set build scripts to unix ff. | David Cournapeau | 2008-07-28 | 3 | -194/+194 |
| | |||||
* | Remove unused nsis scripts. | David Cournapeau | 2008-07-28 | 2 | -240/+0 |
| | |||||
* | prepare_bootstrap script now handles pyver correctly, and can be set from ↵ | David Cournapeau | 2008-07-28 | 1 | -2/+13 |
| | | | | command line. | ||||
* | Update readme for win32build tools. | David Cournapeau | 2008-07-28 | 1 | -9/+64 |
| | |||||
* | Fix path issue in nsis script. | David Cournapeau | 2008-07-28 | 1 | -3/+3 |
| | |||||
* | Add top script to generate binaries from scratch. | David Cournapeau | 2008-07-28 | 1 | -0/+13 |
| | |||||
* | Bootstrap script now works from scratch. | David Cournapeau | 2008-07-28 | 1 | -7/+34 |
| | |||||
* | Set LZMA solid compressor. | David Cournapeau | 2008-07-28 | 1 | -0/+1 |
| | |||||
* | Build all ARCHS if arch arg not given to build script. | David Cournapeau | 2008-07-28 | 1 | -5/+6 |
| | |||||
* | Uncomment bootstrap tasks. | David Cournapeau | 2008-07-28 | 1 | -3/+3 |
| | |||||
* | Add nsis template, and bootstrap script, to bootstrap win32 binary build. | David Cournapeau | 2008-07-28 | 2 | -0/+191 |
| | |||||
* | Use OptionParser for win32 build script. | David Cournapeau | 2008-07-28 | 1 | -13/+19 |
| | |||||
* | Add cpu_caps nsis plugin sources (to detect SSE in nsis scripts). | David Cournapeau | 2008-07-26 | 3 | -0/+244 |
| | |||||
* | Add cpuid + nsis scripts to build win32 installer. | David Cournapeau | 2008-05-26 | 7 | -0/+487 |
| | |||||
* | Update build script. | David Cournapeau | 2008-05-20 | 1 | -4/+16 |
| | |||||
* | - win32 build script is now functional. Still does not handle svn version, | David Cournapeau | 2008-05-20 | 1 | -43/+67 |
| | | | | | | though - Fix indentation on the win32 build script. | ||||
* | Add a tools directory, to hold various things related to build, etc... Add a ↵ | David Cournapeau | 2008-05-20 | 1 | -0/+74 |
python script to build win32 binaries. |