{"head":"27dcbdc6ef57fdbf6feeac77d14ad3c45642b185","size":6,"push_id":47521704,"ref":"refs/heads/master","commits":[{"sha":"ea6402b194ee4c2c44ea0992f47fde0a5410d607","author":{"name":"Erik Tollerud","email":"fef60f04ea2f9f40c4024e1e3a5d09a1d9a95e4c@gmail.com"},"url":"https://api.github.com/repos/eteq/astropy/commits/ea6402b194ee4c2c44ea0992f47fde0a5410d607","message":"updated test guide to match config/data plans"},{"sha":"df764897fc4e0c657259e36c7758bcf8e4d7fbf4","author":{"name":"Erik Bray","email":"7e1aa19b8d982f59400eeb56b1a6d3ceda4853ad@stsci.edu"},"url":"https://api.github.com/repos/eteq/astropy/commits/df764897fc4e0c657259e36c7758bcf8e4d7fbf4","message":"Adds support for a `debug` flag in version.py.  This can be set by passing the\n`--debug` option to `./setup.py build` (note: this is not supported by\n`./setup.py install` install, so you must manually run `build` to create a\ndebug build).  If `./setup.py build` is run without `--debug` then the debug\nflag is set to `False`.  If the debug value changes from the previous build, a\nrebuild of all C extensions is forced.\n\nThere are at least two advantages to having `debug` in version.py.  The first\nis informational: Whether or not the package was built with debug enabled is\nfrozen with the source code.  The other advantage is that the flag becomes\nglobally available to modules that need to configure C extensions, and it could\neven be used by pure Python code, for example, to enable debug logging\nglobally.\n\nThis patch went through several iterations before I was happy with it.  The\nCython changes are mostly incidental at this point, though in an earlier\nversion of the patch they were more necessary.  This is because the `build` and\n`build_ext` commands were being subclassed.\n\nHowever, I eventually realized that in order for that approach to work\nconsistently it would also be necessary to subclass all of the other `build_`\ncommands.  And the more you start overriding things in distutils the further\nyou start going down the `numpy.distutils` path, which is a direction best\navoided.\n\nThis version of the patch still uses the distutils machinery to get the value\nof the --debug option.  This has the advantage that it can also take the debug\noption from one's setup.cfg file.  For example, adding\n\n [build]\n debug = True\n\nto setup.cfg during development ensures that debug mode is always turned on,\nfor example."},{"sha":"ed330f4b5db6f77b3e9b3e323c9b804675651999","author":{"name":"Michael Droettboom","email":"e0c7175c07afcfed5ae63d6c8e477ef34dbf1426@gmail.com"},"url":"https://api.github.com/repos/eteq/astropy/commits/ed330f4b5db6f77b3e9b3e323c9b804675651999","message":"Fix docstring generation for astropy.wcs under Python 3"},{"sha":"0c1b6831e19c0bd5941471f84199d31dc6614d17","author":{"name":"Thomas Robitaille","email":"5a30e73bb3eb7866ce4ccff234d7add82054e98d@gmail.com"},"url":"https://api.github.com/repos/eteq/astropy/commits/0c1b6831e19c0bd5941471f84199d31dc6614d17","message":"Merge pull request #6 from eteq/testing-guidelines\n\nupdates for config/data plans"},{"sha":"a60eccb3d6a9d34ceb07e6f49c133caf2509f42a","author":{"name":"Thomas Robitaille","email":"5a30e73bb3eb7866ce4ccff234d7add82054e98d@gmail.com"},"url":"https://api.github.com/repos/eteq/astropy/commits/a60eccb3d6a9d34ceb07e6f49c133caf2509f42a","message":"Merge pull request #14 from astrofrog/testing-guidelines\n\nTesting guidelines"},{"sha":"27dcbdc6ef57fdbf6feeac77d14ad3c45642b185","author":{"name":"Erik Tollerud","email":"fef60f04ea2f9f40c4024e1e3a5d09a1d9a95e4c@gmail.com"},"url":"https://api.github.com/repos/eteq/astropy/commits/27dcbdc6ef57fdbf6feeac77d14ad3c45642b185","message":"Merge pull request #32 from iguananaut/setup-fixes\n\nAdjusts setup.py version version freezing to be more stable and additional associated clarification in setup.py"}],"legacy":{"head":"27dcbdc6ef57fdbf6feeac77d14ad3c45642b185","size":6,"push_id":47521704,"shas":[["ea6402b194ee4c2c44ea0992f47fde0a5410d607","erik.tollerud@gmail.com","updated test guide to match config/data plans","Erik Tollerud"],["df764897fc4e0c657259e36c7758bcf8e4d7fbf4","embray@stsci.edu","Adds support for a `debug` flag in version.py.  This can be set by passing the\n`--debug` option to `./setup.py build` (note: this is not supported by\n`./setup.py install` install, so you must manually run `build` to create a\ndebug build).  If `./setup.py build` is run without `--debug` then the debug\nflag is set to `False`.  If the debug value changes from the previous build, a\nrebuild of all C extensions is forced.\n\nThere are at least two advantages to having `debug` in version.py.  The first\nis informational: Whether or not the package was built with debug enabled is\nfrozen with the source code.  The other advantage is that the flag becomes\nglobally available to modules that need to configure C extensions, and it could\neven be used by pure Python code, for example, to enable debug logging\nglobally.\n\nThis patch went through several iterations before I was happy with it.  The\nCython changes are mostly incidental at this point, though in an earlier\nversion of the patch they were more necessary.  This is because the `build` and\n`build_ext` commands were being subclassed.\n\nHowever, I eventually realized that in order for that approach to work\nconsistently it would also be necessary to subclass all of the other `build_`\ncommands.  And the more you start overriding things in distutils the further\nyou start going down the `numpy.distutils` path, which is a direction best\navoided.\n\nThis version of the patch still uses the distutils machinery to get the value\nof the --debug option.  This has the advantage that it can also take the debug\noption from one's setup.cfg file.  For example, adding\n\n [build]\n debug = True\n\nto setup.cfg during development ensures that debug mode is always turned on,\nfor example.","Erik Bray"],["ed330f4b5db6f77b3e9b3e323c9b804675651999","mdboom@gmail.com","Fix docstring generation for astropy.wcs under Python 3","Michael Droettboom"],["0c1b6831e19c0bd5941471f84199d31dc6614d17","thomas.robitaille@gmail.com","Merge pull request #6 from eteq/testing-guidelines\n\nupdates for config/data plans","Thomas Robitaille"],["a60eccb3d6a9d34ceb07e6f49c133caf2509f42a","thomas.robitaille@gmail.com","Merge pull request #14 from astrofrog/testing-guidelines\n\nTesting guidelines","Thomas Robitaille"],["27dcbdc6ef57fdbf6feeac77d14ad3c45642b185","erik.tollerud@gmail.com","Merge pull request #32 from iguananaut/setup-fixes\n\nAdjusts setup.py version version freezing to be more stable and additional associated clarification in setup.py","Erik Tollerud"]],"ref":"refs/heads/master"}}