Commit e7299726 authored by Ole Streicher's avatar Ole Streicher

New upstream version 1.3.0

parent c7e910e7
1.3.0 (2017-11-1)
-----------------
New Features
^^^^^^^^^^^^
- Add representation for ImageFileCollection. [#475, #515]
- Added ext parameter and property to ImageFileCollection to specify the FITS
extension. [#463]
- Add keywords.deleter method to ImageFileCollection. [#474]
- Added ``glob_include`` and ``glob_exclude`` parameter to
``ImageFileCollection``. [#484]
- Add ``bitfield_to_boolean_mask`` function to convert a ``bitfield`` to a
boolean mask (following the numpy conventions). [#460]
- Added ``gain_corrected`` option in ccd_process so that calibration
files do not need to previously been gain corrected. [#491]
- Add a new ``wcs_relax`` argument to ``CCDData.to_header()`` that is passed
through to the ``WCS`` method of the same name to allow more flexible
handing of headers with SIP distortion. [#501]
- ``combine`` now accepts ``numpy.ndarray`` as the input ``img_list``.
[#493, #503]
- Added ``sum`` option in method for ``combime``. [#500, #508]
- Add ``norm_value`` argument to ``flat_correct`` that allows the normalization
of the flat frame to be manually specified. [#584, #577]
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- removed ability to set unit of CCDData to None. [#451]
- deprecated ``summary_info`` property of ``ImageFileCollection`` now raises
a deprecation warning. [#486]
- Logging will include the abbreviation even if the ``meta`` attribute of
the processed ``CCDData`` isn't a ``fits.Header``. [#528]
- The ``CCDData`` class and the functions ``fits_ccddata_reader`` and
``fits_ccddata_writer`` will be imported from ``astropy.nddata`` if
astropy >= 2.0 is installed (instead of the one defined in ``ccdproc``). [#528]
- Building the documentation requires astropy >= 2.0. [#528]
- When reading a ``CCDData`` from a file the WCS-related keywords are removed
from the header. [#568]
- The ``info_file`` argument for ``ImageFileCollection`` is now deprecated.
[#585]
Bug Fixes
^^^^^^^^^
- ``ImageFileCollection`` now handles Headers with duplicated keywords
(other than ``COMMENT`` and ``HISTORY``) by ignoring all but the first. [#467]
- The ``ccd`` method of ``ImageFileCollection`` will raise an
``NotImplementedError`` in case the parameter ``overwrite=True`` or
``clobber=True`` is used instead of silently ignoring the parameter. [#527]
- The ``sort`` method of ``ImageFileCollection`` now requires an explicitly
given ``keys`` argument. [#534]
- Fixed a problem with ``CCDData.read`` when the extension wasn't given and the
primary HDU contained no ``data`` but another HDU did. In that case the header
were not correctly combined. [#541]
- Suppress errors during WCS creation in CCDData.read(). [#552]
- The generator methods in ``ImageFileCollection`` now don't leave open file
handles in case the iterator wasn't advanced or an exception was raised
either inside the method itself or during the loop. [#553]
- Allow non-string columns when filtering an ``ImageFileCollection`` with a
string value. [#567]
1.2.0 (2016-12-13)
------------------
......
Copyright (c) 2011-2016, Astropy-ccdproc Developers
Copyright (c) 2011-2017, Astropy-ccdproc Developers
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
......
Metadata-Version: 1.1
Name: ccdproc
Version: 1.2.0
Version: 1.3.0.post1
Summary: Astropy affiliated package
Home-page: http://ccdproc.readthedocs.io/
Author: Steve Crawford and Matt Craig
Author-email: ccdproc@gmail.com
License: BSD
Description-Content-Type: UNKNOWN
Description:
The ccdproc package is a collection of code that will be helpful in basic CCD
processing. These steps will allow reduction of basic CCD data as either a
......
ccdproc
=======
.. image:: https://travis-ci.org/astropy/ccdproc.png?branch=master
.. image:: https://travis-ci.org/astropy/ccdproc.svg?branch=master
:target: https://travis-ci.org/astropy/ccdproc
.. image:: https://coveralls.io/repos/astropy/ccdproc/badge.png
.. image:: https://coveralls.io/repos/astropy/ccdproc/badge.svg
:target: https://coveralls.io/r/astropy/ccdproc
.. image:: https://zenodo.org/badge/12153/astropy/ccdproc.svg
......
......@@ -91,13 +91,24 @@ except:
use_setuptools()
# typing as a dependency for 1.6.1+ Sphinx causes issues when imported after
# initializing submodule with ah_boostrap.py
# See discussion and references in
# https://github.com/astropy/astropy-helpers/issues/302
try:
import typing # noqa
except ImportError:
pass
# Note: The following import is required as a workaround to
# https://github.com/astropy/astropy-helpers/issues/89; if we don't import this
# module now, it will get cleaned up after `run_setup` is called, but that will
# later cause the TemporaryDirectory class defined in it to stop working when
# used later on by setuptools
try:
import setuptools.py31compat
import setuptools.py31compat # noqa
except ImportError:
pass
......@@ -702,7 +713,7 @@ class _Bootstrapper(object):
if self.offline:
cmd.append('--no-fetch')
elif status == 'U':
raise _AHBoostrapSystemExit(
raise _AHBootstrapSystemExit(
'Error: Submodule {0} contains unresolved merge conflicts. '
'Please complete or abandon any changes in the submodule so that '
'it is in a usable state, then try again.'.format(submodule))
......@@ -763,7 +774,7 @@ def run_cmd(cmd):
msg = 'Command not found: `{0}`'.format(' '.join(cmd))
raise _CommandNotFound(msg, cmd)
else:
raise _AHBoostrapSystemExit(
raise _AHBootstrapSystemExit(
'An unexpected error occurred when running the '
'`{0}` command:\n{1}'.format(' '.join(cmd), str(e)))
......@@ -878,46 +889,6 @@ class _AHBootstrapSystemExit(SystemExit):
super(_AHBootstrapSystemExit, self).__init__(msg, *args[1:])
if sys.version_info[:2] < (2, 7):
# In Python 2.6 the distutils log does not log warnings, errors, etc. to
# stderr so we have to wrap it to ensure consistency at least in this
# module
import distutils
class log(object):
def __getattr__(self, attr):
return getattr(distutils.log, attr)
def warn(self, msg, *args):
self._log_to_stderr(distutils.log.WARN, msg, *args)
def error(self, msg):
self._log_to_stderr(distutils.log.ERROR, msg, *args)
def fatal(self, msg):
self._log_to_stderr(distutils.log.FATAL, msg, *args)
def log(self, level, msg, *args):
if level in (distutils.log.WARN, distutils.log.ERROR,
distutils.log.FATAL):
self._log_to_stderr(level, msg, *args)
else:
distutils.log.log(level, msg, *args)
def _log_to_stderr(self, level, msg, *args):
# This is the only truly 'public' way to get the current threshold
# of the log
current_threshold = distutils.log.set_threshold(distutils.log.WARN)
distutils.log.set_threshold(current_threshold)
if level >= current_threshold:
if args:
msg = msg % args
sys.stderr.write('%s\n' % msg)
sys.stderr.flush()
log = log()
BOOTSTRAPPER = _Bootstrapper.main()
......
astropy-helpers Changelog
=========================
*************************
1.2 (2016-06-19)
2.0.2 (2017-10-13)
------------------
- Added new helper function add_openmp_flags_if_available that can add
OpenMP compilation flags to a C/Cython extension if needed. [#346]
- Update numpydoc to v0.7. [#343]
- The function ``get_git_devstr`` now returns ``'0'`` instead of ``None`` when
no git repository is present. This allows generation of development version
strings that are in a format that ``setuptools`` expects (e.g. "1.1.3.dev0"
instead of "1.1.3.dev"). [#330]
- It is now possible to override generated timestamps to make builds
reproducible by setting the ``SOURCE_DATE_EPOCH`` environment variable [#341]
- Mark Sphinx extensions as parallel-safe. [#344]
- Switch to using mathjax instead of imgmath for local builds. [#342]
- Deprecate ``exclude`` parameter of various functions in setup_helpers since
it could not work as intended. Add new function ``add_exclude_packages`` to
provide intended behavior. [#331]
- Allow custom Sphinx doctest extension to recognize and process standard
doctest directives ``testsetup`` and ``doctest``. [#335]
2.0.1 (2017-07-28)
------------------
- Fix compatibility with Sphinx <1.5. [#326]
2.0 (2017-07-06)
----------------
- Add support for package that lies in a subdirectory. [#249]
- Removing ``compat.subprocess``. [#298]
- Python 3.3 is no longer supported. [#300]
- The 'automodapi' Sphinx extension (and associated dependencies) has now
been moved to a standalone package which can be found at
https://github.com/astropy/sphinx-automodapi - this is now bundled in
astropy-helpers under astropy_helpers.extern.automodapi for
convenience. Version shipped with astropy-helpers is v0.6.
[#278, #303, #309, #323]
- The ``numpydoc`` Sphinx extension has now been moved to
``astropy_helpers.extern``. [#278]
- Fix ``build_docs`` error catching, so it doesn't hide Sphinx errors. [#292]
- Fix compatibility with Sphinx 1.6. [#318]
- Updating ez_setup.py to the last version before it's removal. [#321]
1.3.1 (2017-03-18)
------------------
- Fixed the missing button to hide output in documentation code
blocks. [#287]
- Fixed bug when ``build_docs`` when running with the clean (-l) option. [#289]
- Add alternative location for various intersphinx inventories to fall back
to. [#293]
1.3 (2016-12-16)
----------------
- ``build_sphinx`` has been deprecated in favor of the ``build_docs`` command.
[#246]
- Force the use of Cython's old ``build_ext`` command. A new ``build_ext``
command was added in Cython 0.25, but it does not work with astropy-helpers
currently. [#261]
1.2 (2016-06-18)
----------------
- Added sphinx configuration value ``automodsumm_inherited_members``.
......@@ -22,6 +104,7 @@ astropy-helpers Changelog
- ``astropy_helpers`` now require Sphinx 1.3 or later. [#226]
1.1.2 (2016-03-9)
-----------------
......@@ -33,7 +116,7 @@ astropy-helpers Changelog
------------------
- Fixed crash in build with ``AttributeError: cython_create_listing`` with
older versions of setuptools. [#209]
older versions of setuptools. [#209, #210]
1.1 (2015-12-10)
......@@ -75,7 +158,7 @@ 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)
1.0.7 (unreleased)
------------------
- Fix missing import in ``astropy_helpers/utils.py``. [#196]
......@@ -99,7 +182,7 @@ astropy-helpers Changelog
------------------
- Fixed issue with the sphinx documentation css where the line numbers for code
blocks were not aligned with the code. [#179]
blocks were not aligned with the code. [#179, #180]
- Fixed crash that could occur when trying to build Cython extension modules
when Cython isn't installed. Normally this still results in a failed build,
......@@ -110,11 +193,11 @@ astropy-helpers Changelog
found. [#182]
- Quieted warnings about deprecated Numpy API in Cython extensions, when
building Cython extensions against Numpy >= 1.7. [#183]
building Cython extensions against Numpy >= 1.7. [#183, #186]
- Improved support for py.test >= 2.7--running the ``./setup.py test`` command
now copies all doc pages into the temporary test directory as well, so that
all test files have a "common root directory". [#189]
all test files have a "common root directory". [#189, #190]
1.0.3 (2015-07-22)
......@@ -250,15 +333,15 @@ astropy-helpers Changelog
- Fixed an issue on Python 3 where importing a package using astropy-helper's
generated version.py module would crash when the current working directory
is an empty git repository. [#114]
is an empty git repository. [#114, #137]
- Fixed an issue where the "revision count" appended to .dev versions by
the generated version.py did not accurately reflect the revision count for
the package it belongs to, and could be invalid if the current working
directory is an unrelated git repository. [#107]
directory is an unrelated git repository. [#107, #137]
- Likewise, fixed a confusing warning message that could occur in the same
circumstances as the above issue. [#121]
circumstances as the above issue. [#121, #137]
0.4.4 (2014-12-31)
......
astropy-helpers
===============
* Stable versions: https://pypi.org/project/astropy-helpers/
* Development version, issue tracker: https://github.com/astropy/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
......@@ -8,6 +11,22 @@ 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>`_.
The ``astropy_helpers.extern`` sub-module includes modules developed elsewhere
that are bundled here for convenience. At the moment, this consists of the
following two sphinx extensions:
* `numpydoc <https://github.com/numpy/numpydoc>`_, a Sphinx extension
developed as part of the Numpy project. This is used to parse docstrings
in Numpy format
* `sphinx-automodapi <https://github.com/astropy/sphinx-automodapi>`_, a Sphinx
developed as part of the Astropy project. This used to be developed directly
in ``astropy-helpers`` but is now a standalone package.
Issues with these sub-modules should be reported in their respective repositories,
and we will regularly update the bundled versions to reflect the latest released
versions.
``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
......
......@@ -91,13 +91,24 @@ except:
use_setuptools()
# typing as a dependency for 1.6.1+ Sphinx causes issues when imported after
# initializing submodule with ah_boostrap.py
# See discussion and references in
# https://github.com/astropy/astropy-helpers/issues/302
try:
import typing # noqa
except ImportError:
pass
# Note: The following import is required as a workaround to
# https://github.com/astropy/astropy-helpers/issues/89; if we don't import this
# module now, it will get cleaned up after `run_setup` is called, but that will
# later cause the TemporaryDirectory class defined in it to stop working when
# used later on by setuptools
try:
import setuptools.py31compat
import setuptools.py31compat # noqa
except ImportError:
pass
......@@ -702,7 +713,7 @@ class _Bootstrapper(object):
if self.offline:
cmd.append('--no-fetch')
elif status == 'U':
raise _AHBoostrapSystemExit(
raise _AHBootstrapSystemExit(
'Error: Submodule {0} contains unresolved merge conflicts. '
'Please complete or abandon any changes in the submodule so that '
'it is in a usable state, then try again.'.format(submodule))
......@@ -763,7 +774,7 @@ def run_cmd(cmd):
msg = 'Command not found: `{0}`'.format(' '.join(cmd))
raise _CommandNotFound(msg, cmd)
else:
raise _AHBoostrapSystemExit(
raise _AHBootstrapSystemExit(
'An unexpected error occurred when running the '
'`{0}` command:\n{1}'.format(' '.join(cmd), str(e)))
......@@ -878,46 +889,6 @@ class _AHBootstrapSystemExit(SystemExit):
super(_AHBootstrapSystemExit, self).__init__(msg, *args[1:])
if sys.version_info[:2] < (2, 7):
# In Python 2.6 the distutils log does not log warnings, errors, etc. to
# stderr so we have to wrap it to ensure consistency at least in this
# module
import distutils
class log(object):
def __getattr__(self, attr):
return getattr(distutils.log, attr)
def warn(self, msg, *args):
self._log_to_stderr(distutils.log.WARN, msg, *args)
def error(self, msg):
self._log_to_stderr(distutils.log.ERROR, msg, *args)
def fatal(self, msg):
self._log_to_stderr(distutils.log.FATAL, msg, *args)
def log(self, level, msg, *args):
if level in (distutils.log.WARN, distutils.log.ERROR,
distutils.log.FATAL):
self._log_to_stderr(level, msg, *args)
else:
distutils.log.log(level, msg, *args)
def _log_to_stderr(self, level, msg, *args):
# This is the only truly 'public' way to get the current threshold
# of the log
current_threshold = distutils.log.set_threshold(distutils.log.WARN)
distutils.log.set_threshold(current_threshold)
if level >= current_threshold:
if args:
msg = msg % args
sys.stderr.write('%s\n' % msg)
sys.stderr.flush()
log = log()
BOOTSTRAPPER = _Bootstrapper.main()
......
Metadata-Version: 1.1
Name: astropy-helpers
Version: 0.4.dev94
Summary: UNKNOWN
Home-page: http://astropy.org
Version: 2.0.2
Summary: Utilities for building and installing Astropy, Astropy affiliated packages, and their respective documentation.
Home-page: https://github.com/astropy/astropy-helpers
Author: The Astropy Developers
Author-email: astropy.team@gmail.com
License: BSD
Download-URL: http://pypi.python.org/packages/source/a/astropy-helpers/astropy-0.4.dev94.tar.gz
Description: UNKNOWN
Description-Content-Type: UNKNOWN
Description: astropy-helpers
===============
* Stable versions: https://pypi.org/project/astropy-helpers/
* Development version, issue tracker: https://github.com/astropy/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>`_.
The ``astropy_helpers.extern`` sub-module includes modules developed elsewhere
that are bundled here for convenience. At the moment, this consists of the
following two sphinx extensions:
* `numpydoc <https://github.com/numpy/numpydoc>`_, a Sphinx extension
developed as part of the Numpy project. This is used to parse docstrings
in Numpy format
* `sphinx-automodapi <https://github.com/astropy/sphinx-automodapi>`_, a Sphinx
developed as part of the Astropy project. This used to be developed directly
in ``astropy-helpers`` but is now a standalone package.
Issues with these sub-modules should be reported in their respective repositories,
and we will regularly update the bundled versions to reflect the latest released
versions.
``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.svg
:target: https://travis-ci.org/astropy/astropy-helpers
.. image:: https://coveralls.io/repos/astropy/astropy-helpers/badge.svg
:target: https://coveralls.io/r/astropy/astropy-helpers
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
......@@ -6,7 +7,9 @@ ez_setup.py
setup.cfg
setup.py
astropy_helpers/__init__.py
astropy_helpers/distutils_helpers.py
astropy_helpers/git_helpers.py
astropy_helpers/openmp_helpers.py
astropy_helpers/setup_helpers.py
astropy_helpers/test_helpers.py
astropy_helpers/utils.py
......@@ -17,47 +20,59 @@ 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
astropy_helpers/extern/__init__.py
astropy_helpers/extern/setup_package.py
astropy_helpers/extern/automodapi/__init__.py
astropy_helpers/extern/automodapi/autodoc_enhancements.py
astropy_helpers/extern/automodapi/automodapi.py
astropy_helpers/extern/automodapi/automodsumm.py
astropy_helpers/extern/automodapi/smart_resolver.py
astropy_helpers/extern/automodapi/utils.py
astropy_helpers/extern/automodapi/templates/autosummary_core/base.rst
astropy_helpers/extern/automodapi/templates/autosummary_core/class.rst
astropy_helpers/extern/automodapi/templates/autosummary_core/module.rst
astropy_helpers/extern/numpydoc/__init__.py
astropy_helpers/extern/numpydoc/docscrape.py
astropy_helpers/extern/numpydoc/docscrape_sphinx.py
astropy_helpers/extern/numpydoc/numpydoc.py
astropy_helpers/extern/numpydoc/templates/numpydoc_docstring.rst
astropy_helpers/sphinx/__init__.py
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/automodapi.py
astropy_helpers/sphinx/ext/automodsumm.py
astropy_helpers/sphinx/ext/changelog_links.py
astropy_helpers/sphinx/ext/comment_eater.py
astropy_helpers/sphinx/ext/compiler_unparse.py
astropy_helpers/sphinx/ext/docscrape.py
astropy_helpers/sphinx/ext/docscrape_sphinx.py
astropy_helpers/sphinx/ext/doctest.py
astropy_helpers/sphinx/ext/edit_on_github.py
astropy_helpers/sphinx/ext/numpydoc.py
astropy_helpers/sphinx/ext/phantom_import.py
astropy_helpers/sphinx/ext/smart_resolver.py
astropy_helpers/sphinx/ext/tocdepthfix.py
astropy_helpers/sphinx/ext/traitsdoc.py
astropy_helpers/sphinx/ext/utils.py
astropy_helpers/sphinx/ext/viewcode.py
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_automodapi.py
astropy_helpers/sphinx/ext/tests/test_automodsumm.py
astropy_helpers/sphinx/ext/tests/test_utils.py
astropy_helpers/sphinx/local/python2_local_links.inv
astropy_helpers/sphinx/local/python3_local_links.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
astropy_helpers/src/__init__.py
astropy_helpers/src/compiler.c
astropy_helpers/src/setup_package.py
\ No newline at end of file
licenses/LICENSE_ASTROSCRAPPY.rst
licenses/LICENSE_COPYBUTTON.rst
licenses/LICENSE_NUMPYDOC.rst
\ No newline at end of file
......@@ -145,7 +145,7 @@ class AstropyTest(Command, object):
running the tests.
"""
try:
import astropy
import astropy # noqa
except ImportError:
raise ImportError(
"The 'test' command requires the astropy package to be "
......@@ -235,7 +235,7 @@ class AstropyTest(Command, object):
"--coverage can not be used with --parallel")
try:
import coverage
import coverage # noqa
except ImportError:
raise ImportError(
"--coverage requires that the coverage package is "
......@@ -296,7 +296,7 @@ class AstropyTest(Command, object):
if not hasattr(pkg, 'test'):
raise ImportError(
'package {0} does not have a {0}.test() function as '
'required by the Astropy test runner'.format(package_name))
'required by the Astropy test runner'.format(self.package_name))
argspec = inspect.getargspec(pkg.test)
return argspec.args
......
......@@ -8,7 +8,6 @@ import sys
import textwrap
from distutils import log, ccompiler, sysconfig
from distutils.cmd import Command
from distutils.core import Extension
from distutils.ccompiler import get_default_compiler