Commit d5082707 authored by Ole Streicher's avatar Ole Streicher

Imported Upstream version 1.1.0

parent 93869ccb
1.2.0 (Unreleased)
------------------
New Features
^^^^^^^^^^^^
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Bug Fixes
^^^^^^^^^
1.1.0 (2016-08-01)
------------------
New Features
^^^^^^^^^^^^
- Add an additional combination method, ``clip_extrema``, that drops the highest
and/or lowest pixels in an image stack. [#356, #358]
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ``cosmicray_lacosmic`` default ``satlevel`` changed from 65536 to 65535. [#347]
- Auto-identify files with extension ``fts`` as FITS files. [#355, #364]
- Raise more explicit exception if unit of uncalibrated image and master do
not match in ``subtract_bias`` or ``subtract_dark``. [#361, #366]
- Updated the ``Combiner`` class so that it could process images with >2
dimensions. [#340, #375]
Bug Fixes
^^^^^^^^^
- ``Combiner`` creates plain array uncertainties when using``average_combine``
or ``median_combine``. [#351]
- ``flat_correct`` does not properly scale uncertainty in the flat. [#345, #363]
- Error message in weights setter fixed. [#376]
1.0.1 (2016-03-15)
------------------
The 1.0.1 release was a release to fix some minor packaging issues.
1.0.0 (2016-03-15)
------------------
General
^^^^^^^
- ccdproc has now the following requirements:
- Python 2.7 or 3.4 or later.
- astropy 1.0 or later
- numpy 1.9 or later
- scipy
- astroscrappy
- reproject
New Features
^^^^^^^^^^^^
- Add a WCS setter for ``CCDData``. [#256]
- Allow user to set the function used for uncertainty calculation in
``average_combine`` and ``median_combine``. [#258]
- Add a new keyword to ImageFileCollection.files_filtered to return the full
path to a file [#275]
- Added ccd_process for handling multiple steps. [#211]
- CCDData.write now writes multi-extension-FITS files. The mask and uncertainty
are saved as extensions if these attributes were set. The name of the
extensions can be altered with the parameters ``hdu_mask`` (default extension
name ``'MASK'``) and ``hdu_uncertainty`` (default ``'UNCERT'``).
CCDData.read can read these files and has the same optional parameters. [#302]
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Issue warning if there are no FITS images in an ``ImageFileCollection``. [#246]
- The overscan_axis argument in subtract_overscan can now be set to
None, to let subtract_overscan provide a best guess for the axis. [#263]
- Add support for wildcard and reversed FITS style slicing. [#265]
- When reading a FITS file with CCDData.read, if no data exists in the
primary hdu, the resultant header object is a combination of the
header information in the primary hdu and the first hdu with data. [#271]
- Changed cosmicray_lacosmic to use astroscrappy for cleaning cosmic rays. [#272]
- CCDData arithmetic with number/Quantity now preserves any existing WCS. [#278]
- Update astropy_helpers to 1.1.1. [#287]
- Drop support for Python 2.6. [#300]
- The ``add_keyword`` parameter now has a default of ``True``, to be more
explicit. [#310]
- Return name of file instead of full path in ``ImageFileCollection``
generators. [#315]
Bug Fixes
^^^^^^^^^
- Adding/Subtracting a CCDData instance with a Quantity with a different unit
produced wrong results. [#291]
- The uncertainty resulting when combining CCDData will be divided by the
square root of the number of combined pixel [#309]
- Improve documentation for read/write methods on ``CCDData`` [#320]
- Add correct path separator when returning full path from
``ImageFileCollection.files_filtered``. [#325]
0.3.3 (2015-10-24)
------------------
New Features
^^^^^^^^^^^^
- add a ``sort`` method to ImageFileCollection [#274]
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Opt in to new container-based builds on travis. [#227]
- Update astropy_helpers to 1.0.5. [#245]
Bug Fixes
^^^^^^^^^
- Ensure that creating a WCS from a header that contains list-like keywords
(e.g. ``BLANK`` or ``HISTORY``) succeeds. [#229, #231]
0.3.2 (never released)
----------------------
There was no 0.3.2 release because of a packaging error.
0.3.1 (2015-05-12)
------------------
New Features
^^^^^^^^^^^^
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Add extensive tests to ensure ``ccdproc`` functions do not modify the input
data. [#208]
- Remove red-box warning about API stability from docs. [#210]
- Support astropy 1.0.5, which made changes to ``NDData``. [#242]
Bug Fixes
^^^^^^^^^
- Make ``subtract_overscan`` act on a copy of the input data. [#206]
- Overscan subtraction failed on non-square images if the overscan axis was the
first index, ``0``. [#240, #244]
0.3.0 (2015-03-17)
------------------
New Features
^^^^^^^^^^^^
- When reading in a FITS file, the extension to be used can be specified. If
it is not and there is no data in the primary extension, the first extension
with data will be used.
- Set wcs attribute when reading from a FITS file that contains WCS keywords
and write WCS keywords to header when converting to an HDU. [#195]
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Updated CCDData to use the new version of NDDATA in astropy v1.0. This
breaks backward compatibility with earlier versions of astropy.
Bug Fixes
^^^^^^^^^
- Ensure ``dtype`` of combined images matches the ``dtype`` of the
``Combiner`` object. [#189]
0.2.2 (2014-11-05)
------------------
New Features
^^^^^^^^^^^^
- Add dtype argument to `ccdproc.Combiner` to help control memory use [#178]
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Added Changes to the docs [#183]
Bug Fixes
^^^^^^^^^
- Allow the unit string "adu" to be upper or lower case in a FITS header [#182]
0.2.1 (2014-09-09)
------------------
New Features
^^^^^^^^^^^^
- Add a unit directly from BUNIT if it is available in the FITS header [#169]
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Relaxed the requirements on what the metadata must be. It can be anything dict-like, e.g. an astropy.io.fits.Header, a python dict, an OrderedDict or some custom object created by the user. [#167]
Bug Fixes
^^^^^^^^^
- Fixed a new-style formating issue in the logging [#170]
0.2 (2014-07-28)
----------------
- Initial release.
Metadata-Version: 1.1
Name: ccdproc
Version: 1.0.1
Version: 1.1.0
Summary: Astropy affiliated package
Home-page: http://ccdproc.readthedocs.org/
Home-page: http://ccdproc.readthedocs.io/
Author: Steve Crawford and Matt Craig
Author-email: ccdproc@gmail.com
License: BSD
......
......@@ -6,6 +6,10 @@ ccdproc
.. image:: https://coveralls.io/repos/astropy/ccdproc/badge.png
:target: https://coveralls.io/r/astropy/ccdproc
.. image:: https://zenodo.org/badge/12153/astropy/ccdproc.svg
:target: https://zenodo.org/badge/latestdoi/12153/astropy/ccdproc
Ccdproc is is an affiliated package for the AstroPy package for basic data
reductions of CCD images. The ccdproc package provides many of the
......@@ -16,14 +20,39 @@ Ccdproc can currently be installed via pip or from the source code. For
installation instructions, see the `online documentation`_ or docs/install.rst
in this source distribution.
This package is a work in progress...feel free to help out by picking an issue
and working on it!
Documentation is at `ccdproc.readthedocs.org
<http://ccdproc.readthedocs.org/en/latest/>`_
Documentation is at `ccdproc.readthedocs.io
<http://ccdproc.readthedocs.io/en/latest/>`_
Contributing
------------
We have had the first stable release, but there is still plenty to do!
Please open a new issue or new pull request for bugs, feedback, or new features
you would like to see. If there is an issue you would like to work on, please
leave a comment and we will be happy to assist. New contributions and
contributors are very welcome!
New to github or open source projects? If you are unsure about where to start
or haven't used github before, please feel free to email `@crawfordsm`_ or
`@mwcraig`_ . We will more than happily help you make your first contribution.
Feedback and feature requests? Is there something missing you would like
to see? Please open an issue or send an email to `@mwcraig`_ or
`@crawfordsm`_.
Ccdproc follows the `Astropy Code of Conduct`_ and strives to provide a
welcoming community to all of our users and contributors.
Want more information about how to make a contribution? Take a look at
the astropy `contributing`_ and `developer`_ documentation.
Acknowledgements
----------------
If you have found ccdproc useful to your research, please considering adding a
citation to `Crawford, S. M., Craig, M. W., & ccdproc collaborators, 2015, Astrophysics Source Code Library, 1510.007 <http://adsabs.harvard.edu/abs/2015ascl.soft10007C>`_
citation to `ccdproc contributors; Craig, M. W.; Crawford, S. M.; Deil, Christoph; Gasdia, Forrest; Gomez, Carlos; Günther, Hans Moritz; Heidt, Nathan; Horton, Anthony; Karr, Jennifer; Nelson, Stefan; Ninan, Joe Phillip; Pattnaik, Punyaslok; Rol, Evert; Schoenell, William; Seifert, Michael; Singh, Sourav; Sipocz, Brigitta; Stotts, Connor; Streicher, Ole; Tollerud, Erik; and Walker, Nathan, 2015, Astrophysics Source Code Library, 1510.007, DOI: 10.5281/zenodo.47652 <http://adsabs.harvard.edu/abs/2015ascl.soft10007C>`_
Thanks to Kyle Barbary (`@kbarbary`_) for designing the `ccdproc` logo.
......@@ -31,5 +60,10 @@ Thanks to Kyle Barbary (`@kbarbary`_) for designing the `ccdproc` logo.
.. _git: http://git-scm.com/
.. _github: http://github.com
.. _Cython: http://cython.org/
.. _online documentation: http://ccdproc.readthedocs.org/en/latest/ccdproc/install.html
.. _online documentation: http://ccdproc.readthedocs.io/en/latest/ccdproc/install.html
.. _@kbarbary: https://github.com/kbarbary
.. _@crawfordsm: https://github.com/crawfordsm
.. _@mwcraig: https://github.com/mwcraig
.. _Astropy Code of Conduct: http://www.astropy.org/about.html#codeofconduct
.. _contributing: http://docs.astropy.org/en/stable/index.html#contributing
.. _developer: http://docs.astropy.org/en/stable/index.html#developer-documentation
# We set the language to c because python isn't supported on the MacOS X nodes
# on Travis. However, the language ends up being irrelevant anyway, since we
# install Python ourselves using conda.
language: c
os:
- osx
- linux
env:
matrix:
- PYTHON_VERSION=2.6
- PYTHON_VERSION=2.7
- PYTHON_VERSION=3.3
- PYTHON_VERSION=3.4
- PYTHON_VERSION=3.5
global:
- SETUPTOOLS_VERSION=stable
- CONDA_DEPENDENCIES="pytest sphinx cython numpy"
- PIP_DEPENDENCIES="coveralls pytest-cov"
matrix:
include:
- os: linux
env: PYTHON_VERSION=2.7 SETUPTOOLS_VERSION=dev
CONDA_DEPENDENCIES="pytest sphinx cython numpy mercurial mock"
before_install:
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get update; sudo apt-get install graphviz; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew update; brew install graphviz; fi
install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
# We cannot install the developer version of setuptools using pip because
# pip tries to remove the previous version of setuptools before the
# installation is complete, which causes issues. Instead, we just install
# setuptools manually.
- if [[ $SETUPTOOLS_VERSION == dev ]]; then hg clone https://bitbucket.org/pypa/setuptools; cd setuptools; python setup.py install; cd ..; fi
before_script:
# Some of the tests use git commands that require a user to be configured
- git config --global user.name "A U Thor"
- git config --global user.email "author@example.com"
script:
# Use full path for coveragerc; see issue #193
- py.test --cov astropy_helpers --cov-config $(pwd)/astropy_helpers/tests/coveragerc astropy_helpers
after_success:
- coveralls
astropy-helpers Changelog
=========================
1.2 (2016-06-19)
----------------
- Added sphinx configuration value ``automodsumm_inherited_members``.
If ``True`` this will include members that are inherited from a base
class in the generated API docs. Defaults to ``False`` which matches
the previous behavior. [#215]
- Fixed ``build_sphinx`` to recognize builds that succeeded but have output
*after* the "build succeeded." statement. This only applies when
``--warnings-returncode`` is given (which is primarily relevant for Travis
documentation builds). [#223]
- Fixed ``build_sphinx`` the sphinx extensions to not output a spurious warning
for sphinx versions > 1.4. [#229]
- Add Python version dependent local sphinx inventories that contain
otherwise missing references. [#216]
- ``astropy_helpers`` now require Sphinx 1.3 or later. [#226]
1.1.2 (2016-03-9)
-----------------
- The CSS for the sphinx documentation was altered to prevent some text overflow
problems. [#217]
1.1.1 (2015-12-23)
------------------
......@@ -47,6 +75,10 @@ astropy-helpers Changelog
option, the output from Sphinx is streamed as it runs instead of silently
buffering until the doc build is complete. [#197]
1.0.7 (2016-06-09)
------------------
- Fix missing import in ``astropy_helpers/utils.py``. [#196]
1.0.6 (2015-12-04)
------------------
......@@ -127,23 +159,11 @@ astropy-helpers Changelog
and to return more info. This will help fix builds of Astropy on less
common compilers, like Sun C. [#153]
1.0.1 (2015-03-04)
------------------
- Released in concert with v0.4.8 to address the same issues.
- Improved the ``ah_bootstrap`` script's ability to override existing
installations of astropy-helpers with new versions in the context of
installing multiple packages simultaneously within the same Python
interpreter (e.g. when one package has in its ``setup_requires`` another
package that uses a different version of astropy-helpers. [#144]
- Added a workaround to an issue in matplotlib that can, in rare cases, lead
to a crash when installing packages that import matplotlib at build time.
[#144]
0.4.8 (2015-03-04)
------------------
......
Contributing to astropy-helpers
===============================
The guidelines for contributing to ``astropy-helpers`` are generally the same
as the [contributing guidelines for the astropy core
package](http://github.com/astropy/astropy/blob/master/CONTRIBUTING.md).
Basically, report relevant issues in the ``astropy-helpers`` issue tracker, and
we welcome pull requests that broadly follow the [Astropy coding
guidelines](http://docs.astropy.org/en/latest/development/codeguide.html).
The key subtlety lies in understanding the relationship between ``astropy`` and
``astropy-helpers``. This package contains the build, installation, and
documentation tools used by astropy. It also includes support for the
``setup.py test`` command, though Astropy is still required for this to
function (it does not currently include the full Astropy test runner). So
issues or improvements to that functionality should be addressed in this
package. Any other aspect of the [astropy core
package](http://github.com/astropy/astropy) (or any other package that uses
``astropy-helpers``) should be addressed in the github repository for that
package.
include README.rst
include CHANGES.rst
include LICENSE.rst
include ez_setup.py
include ah_bootstrap.py
exclude *.pyc *.o
prune build
prune astropy_helpers/tests
......@@ -25,8 +25,8 @@ For examples of how to implement ``astropy-helpers`` in a project,
see the ``setup.py`` and ``setup.cfg`` files of the
`Affiliated package template <https://github.com/astropy/package-template>`_.
.. image:: https://travis-ci.org/astropy/astropy-helpers.png
.. image:: https://travis-ci.org/astropy/astropy-helpers.svg
:target: https://travis-ci.org/astropy/astropy-helpers
.. image:: https://coveralls.io/repos/astropy/astropy-helpers/badge.png
.. image:: https://coveralls.io/repos/astropy/astropy-helpers/badge.svg
:target: https://coveralls.io/r/astropy/astropy-helpers
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
environment:
global:
PYTHON: "C:\\conda"
MINICONDA_VERSION: "3.5.5"
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
PYTHON_ARCH: "64" # needs to be set for CMD_IN_ENV to succeed. If a mix
# of 32 bit and 64 bit builds are needed, move this
# to the matrix section.
CONDA_DEPENDENCIES: "numpy Cython sphinx pytest"
matrix:
- PYTHON_VERSION: "2.6"
- PYTHON_VERSION: "2.7"
- PYTHON_VERSION: "3.4"
platform:
-x64
install:
# Set up ci-helpers
- "git clone git://github.com/astropy/ci-helpers.git"
- "powershell ci-helpers/appveyor/install-miniconda.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "activate test"
# Some of the tests use git commands that require a user to be configured
- git config --global user.name "A U Thor"
- git config --global user.email "author@example.com"
# Install graphviz
- cinst graphviz.portable
# Not a .NET project, we build SunPy in the install step instead
build: false
test_script:
- "%CMD_IN_ENV% py.test"
Metadata-Version: 1.1
Name: astropy-helpers
Version: 1.1.1
Summary: Utilities for building and installing Astropy, Astropy affiliated packages, and their respective documentation.
Version: 0.4.dev94
Summary: UNKNOWN
Home-page: http://astropy.org
Author: The Astropy Developers
Author-email: astropy.team@gmail.com
License: BSD
Download-URL: http://pypi.python.org/packages/source/a/astropy-helpers/astropy-helpers-1.1.1.tar.gz
Description: astropy-helpers
===============
This project provides a Python package, ``astropy_helpers``, which includes
many build, installation, and documentation-related tools used by the Astropy
project, but packaged separately for use by other projects that wish to
leverage this work. The motivation behind this package and details of its
implementation are in the accepted
`Astropy Proposal for Enhancement (APE) 4 <https://github.com/astropy/astropy-APEs/blob/master/APE4.rst>`_.
``astropy_helpers`` includes a special "bootstrap" module called
``ah_bootstrap.py`` which is intended to be used by a project's setup.py in
order to ensure that the ``astropy_helpers`` package is available for
build/installation. This is similar to the ``ez_setup.py`` module that is
shipped with some projects to bootstrap `setuptools
<https://bitbucket.org/pypa/setuptools>`_.
As described in APE4, the version numbers for ``astropy_helpers`` follow the
corresponding major/minor version of the `astropy core package
<http://www.astropy.org/>`_, but with an independent sequence of micro (bugfix)
version numbers. Hence, the initial release is 0.4, in parallel with Astropy
v0.4, which will be the first version of Astropy to use ``astropy-helpers``.
For examples of how to implement ``astropy-helpers`` in a project,
see the ``setup.py`` and ``setup.cfg`` files of the
`Affiliated package template <https://github.com/astropy/package-template>`_.
.. image:: https://travis-ci.org/astropy/astropy-helpers.png
:target: https://travis-ci.org/astropy/astropy-helpers
.. image:: https://coveralls.io/repos/astropy/astropy-helpers/badge.png
:target: https://coveralls.io/r/astropy/astropy-helpers
Download-URL: http://pypi.python.org/packages/source/a/astropy-helpers/astropy-0.4.dev94.tar.gz
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Framework :: Setuptools Plugin
Classifier: Framework :: Sphinx :: Extension
Classifier: Framework :: Sphinx :: Theme
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Archiving :: Packaging
CHANGES.rst
LICENSE.rst
MANIFEST.in
README.rst
......@@ -7,7 +6,6 @@ ez_setup.py
setup.cfg
setup.py
astropy_helpers/__init__.py
astropy_helpers/distutils_helpers.py
astropy_helpers/git_helpers.py
astropy_helpers/setup_helpers.py
astropy_helpers/test_helpers.py
......@@ -19,18 +17,6 @@ astropy_helpers.egg-info/SOURCES.txt
astropy_helpers.egg-info/dependency_links.txt
astropy_helpers.egg-info/not-zip-safe
astropy_helpers.egg-info/top_level.txt
astropy_helpers/commands/__init__.py
astropy_helpers/commands/_dummy.py
astropy_helpers/commands/_test_compat.py
astropy_helpers/commands/build_ext.py
astropy_helpers/commands/build_py.py
astropy_helpers/commands/build_sphinx.py
astropy_helpers/commands/install.py
astropy_helpers/commands/install_lib.py
astropy_helpers/commands/register.py
astropy_helpers/commands/setup_package.py
astropy_helpers/commands/test.py
astropy_helpers/commands/src/compiler.c
astropy_helpers/compat/__init__.py
astropy_helpers/compat/subprocess.py
astropy_helpers/compat/_subprocess_py2/__init__.py
......@@ -39,7 +25,6 @@ astropy_helpers/sphinx/conf.py
astropy_helpers/sphinx/setup_package.py
astropy_helpers/sphinx/ext/__init__.py
astropy_helpers/sphinx/ext/astropyautosummary.py
astropy_helpers/sphinx/ext/autodoc_enhancements.py
astropy_helpers/sphinx/ext/automodapi.py
astropy_helpers/sphinx/ext/automodsumm.py
astropy_helpers/sphinx/ext/changelog_links.py
......@@ -60,22 +45,19 @@ astropy_helpers/sphinx/ext/templates/autosummary_core/base.rst
astropy_helpers/sphinx/ext/templates/autosummary_core/class.rst
astropy_helpers/sphinx/ext/templates/autosummary_core/module.rst
astropy_helpers/sphinx/ext/tests/__init__.py
astropy_helpers/sphinx/ext/tests/test_autodoc_enhancements.py
astropy_helpers/sphinx/ext/tests/test_automodapi.py
astropy_helpers/sphinx/ext/tests/test_automodsumm.py
astropy_helpers/sphinx/ext/tests/test_docscrape.py
astropy_helpers/sphinx/ext/tests/test_utils.py
astropy_helpers/sphinx/local/python3links.inv
astropy_helpers/sphinx/themes/bootstrap-astropy/globaltoc.html
astropy_helpers/sphinx/themes/bootstrap-astropy/layout.html
astropy_helpers/sphinx/themes/bootstrap-astropy/localtoc.html
astropy_helpers/sphinx/themes/bootstrap-astropy/searchbox.html
astropy_helpers/sphinx/themes/bootstrap-astropy/theme.conf
astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_linkout.svg
astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_linkout_20.png
astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_logo.ico
astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_logo.svg
astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_logo_32.png
astropy_helpers/sphinx/themes/bootstrap-astropy/static/bootstrap-astropy.css
astropy_helpers/sphinx/themes/bootstrap-astropy/static/copybutton.js
astropy_helpers/sphinx/themes/bootstrap-astropy/static/sidebar.js
\ No newline at end of file
astropy_helpers/sphinx/themes/bootstrap-astropy/static/sidebar.js
astropy_helpers/src/__init__.py
astropy_helpers/src/compiler.c
astropy_helpers/src/setup_package.py
\ No newline at end of file
......@@ -113,9 +113,9 @@ class AstropyTest(Command, object):
cmd_post = '' # Commands to run after the test function
if self.coverage:
pre, post = self._generate_coverage_commands()
cmd_pre += pre
cmd_post += post
pre, post = self._generate_coverage_commands()
cmd_pre += pre
cmd_post += post
def get_attr(arg):
attr = self._test_runner_arg_attr_map.get(arg, arg)
......
......@@ -60,6 +60,8 @@ def should_build_with_cython(package, release=None):
_compiler_versions = {}
def get_compiler_version(compiler):
if compiler in _compiler_versions:
return _compiler_versions[compiler]
......@@ -124,7 +126,6 @@ def generate_build_ext_command(packagename, release):
force_rebuild = False
_broken_compiler_mapping = [
('i686-apple-darwin[0-9]*-llvm-gcc-4.2', 'clang')
]
......@@ -438,7 +439,6 @@ def generate_build_ext_command(packagename, release):
cfn = base + '.c'
cppfn = base + '.cpp'
if not os.path.isfile(pyxfn):
continue
......
......@@ -35,19 +35,23 @@ class AstropyBuildSphinx(SphinxBuildDoc):
description = 'Build Sphinx documentation for Astropy environment'
user_options = SphinxBuildDoc.user_options[:]
user_options.append(('warnings-returncode', 'w',
'Parses the sphinx output and sets the return code to 1 if there '
'are any warnings. Note that this will cause the sphinx log to '
'only update when it completes, rather than continuously as is '
'normally the case.'))
user_options.append(('clean-docs', 'l',
'Completely clean previous builds, including '
'automodapi-generated files before building new ones'))
user_options.append(('no-intersphinx', 'n',
'Skip intersphinx, even if conf.py says to use it'))
user_options.append(('open-docs-in-browser', 'o',
'Open the docs in a browser (using the webbrowser module) if the '
'build finishes successfully.'))
user_options.append(
('warnings-returncode', 'w',
'Parses the sphinx output and sets the return code to 1 if there '
'are any warnings. Note that this will cause the sphinx log to '
'only update when it completes, rather than continuously as is '
'normally the case.'))
user_options.append(
('clean-docs', 'l',
'Completely clean previous builds, including '
'automodapi-generated files before building new ones'))
user_options.append(
('no-intersphinx', 'n',
'Skip intersphinx, even if conf.py says to use it'))
user_options.append(
('open-docs-in-browser', 'o',
'Open the docs in a browser (using the webbrowser module) if the '
'build finishes successfully.'))