Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 2to3: Remove xreadlines and replace f.readlines() by f where valid. | Charles Harris | 2013-03-05 | 3 | -4/+5 | |
| | | | | | | | | | | 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:DEP: Remove interactive setup and gnu compiler configuration. | Charles Harris | 2013-03-05 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | ENH: Skip already applied fixers when running 2to3. | Charles Harris | 2013-03-03 | 1 | -1/+36 | |
| | | | | | | | | This is done in `tools/py3tool.py` by providing a list of fixers that is passed in the call to 2to3 with with the `-x` option that tells 2to3 to skip them. Closes #3113 | |||||
* | 2to3: Put `from __future__ import division in every python file. | Charles Harris | 2013-03-01 | 6 | -0/+10 | |
| | | | | | | | | 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: Apply `raise` fixes. Closes #3077. | Charles Harris | 2013-03-01 | 1 | -1/+1 | |
| | | | | | | | | | | Replaces the raise Exception, msg: form with raise Exception(msg): | |||||
* | 2to3: Updata `except Exception, msg:` syntax in files not in numpy/ . | Charles Harris | 2013-02-27 | 3 | -3/+3 | |
| | | | | This should finish the updating of the exception syntax. | |||||
* | Wrap hook functions with GIL, add example. | Thouis (Ray) Jones | 2012-06-18 | 4 | -0/+675 | |
| | | | | | Wraps the SetHook and calls to the hook with the GIL, to prevent races. Adds an example of using the interface for callbacks into python code. | |||||
* | Add a little command-line tool for running tests, plus tox support | Nathaniel J. Smith | 2012-05-21 | 1 | -0/+46 | |
| | | | | | | | Tox is a handy little tool to make it easier than not to run proper tests that exercise the build system and are run against multiple Python versions: http://pypi.python.org/pypi/tox See comment at the top of tox.ini for hints. | |||||
* | DOC: clarify numpy version for removal, document sed script better. | Charles Harris | 2012-02-04 | 1 | -1/+11 | |
| | ||||||
* | ENH: Add sed script that replaces macros in old_defines.h. | Charles Harris | 2012-02-04 | 1 | -0/+142 | |
| | ||||||
* | ENH: do not make backup copies when running 2to3. | Ralf Gommers | 2011-04-17 | 1 | -1/+1 | |
| | | | | Copied from scipy commit f7dae4f2. | |||||
* | BUG: Py3: ensure version.py imports are translated appropriately | Pauli Virtanen | 2010-11-25 | 1 | -1/+1 | |
| | ||||||
* | add .gitattributes and fix line endings | Darren Dale | 2010-10-31 | 1 | -183/+183 | |
| | ||||||
* | DOC: Remove more SVN references. | Stefan van der Walt | 2010-09-16 | 1 | -2/+2 | |
| | ||||||
* | BUG: core: fix _dotblas usage on Py3 (fixes #1609) | Pauli Virtanen | 2010-09-11 | 1 | -1/+1 | |
| | ||||||
* | REL: forward-port change in size of dmg image from 1.5.x branch. | rgommers | 2010-09-07 | 1 | -1/+1 | |
| | ||||||
* | ENH: 3K: optionally use lib2to3cache in 2to3 conversion | Pauli Virtanen | 2010-07-18 | 1 | -0/+3 | |
| | ||||||
* | CLN: Remove some now unnecessary fixups to lib/npyio. | Charles Harris | 2010-03-25 | 1 | -9/+0 | |
| | ||||||
* | Rename numpy/lib/io.py to numpy/lib/npyio.py. The py3tool can probably be | Charles Harris | 2010-03-24 | 1 | -2/+2 | |
| | | | | cleaned up a bit more with this change, but that is for later. | |||||
* | 3K: BUG: work around bugs in Python 3.1.1 2to3 by not using fixes_reduce | Pauli Virtanen | 2010-02-20 | 1 | -0/+9 | |
| | | | | Instead, manually import reduce where necessary. | |||||
* | 3K: py3tool: use lib2to3 for the conversions | Pauli Virtanen | 2010-02-20 | 1 | -2/+15 | |
| | | | | | This ensures that the Py3 version of 2to3 is always used, and that failures in conversion result to an immediate build failure. | |||||
* | 3K: BUG: make test_defchararray convert properly via 2to3 | Pauli Virtanen | 2010-02-20 | 1 | -1/+0 | |
| | ||||||
* | py3tool: customize 2to3 flags for some files | Pauli Virtanen | 2009-12-06 | 1 | -19/+24 | |
| | ||||||
* | py3tool: skip temporary etc files | Pauli Virtanen | 2009-12-06 | 1 | -0/+4 | |
| | ||||||
* | py3tool: fix some relative imports for extension modules | Pauli Virtanen | 2009-12-06 | 1 | -0/+47 | |
| | ||||||
* | 3K: make setup.py call 2to3 automatically -- place sources to build/py3k | Pauli Virtanen | 2009-12-06 | 1 | -0/+211 | |
| | ||||||
* | 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 | |
| | ||||||
* | REL: add the scripts and art for the mac os x dmg. | David Cournapeau | 2009-11-22 | 5 | -0/+11863 | |
| | ||||||
* | Add first cut of C code coverage tool | mdroe | 2009-10-27 | 3 | -0/+302 | |
| | ||||||
* | Add a tool for determining active SVN committers. | Travis Oliphant | 2009-10-01 | 1 | -0/+43 | |
| | ||||||
* | 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 | 4 | -8/+8 | |
| | ||||||
* | Add install_and_test script for osxbuild. Update README. | chris.burns | 2008-08-14 | 2 | -3/+78 | |
| | ||||||
* | 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 | |
| | ||||||
* | Add doc to osxbuild script. | chris.burns | 2008-07-31 | 1 | -0/+2 | |
| | ||||||
* | 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 | |
| |