Skip to content

Commit

Permalink
Merge pull request #232 from migueldvb/ah
Browse files Browse the repository at this point in the history
Update astropy-helpers package to v4.0.1
  • Loading branch information
mkelley committed Mar 23, 2020
2 parents c3be0fe + fe2600d commit 751bb90
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 12 additions & 9 deletions ah_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@

# Start off by parsing the setup.cfg file

_err_help_msg = """
If the problem persists consider installing astropy_helpers manually using pip
(`pip install astropy_helpers`) or by manually downloading the source archive,
extracting it, and installing by running `python setup.py install` from the
root of the extracted source code.
"""

SETUP_CFG = ConfigParser()

if os.path.exists('setup.cfg'):
Expand Down Expand Up @@ -156,6 +163,8 @@
sys.stderr.write("ERROR: setuptools 30.3 or later is required by astropy-helpers\n")
sys.exit(1)

SETUPTOOLS_LT_42 = LooseVersion(setuptools.__version__) < LooseVersion('42')

# 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
Expand Down Expand Up @@ -526,7 +535,9 @@ def get_option_dict(self, command_name):
opts['find_links'] = ('setup script', find_links)
if index_url is not None:
opts['index_url'] = ('setup script', index_url)
if allow_hosts is not None:
# For setuptools>=42, the allow_hosts option can't
# be used because pip doesn't support it.
if allow_hosts is not None and SETUPTOOLS_LT_42:
opts['allow_hosts'] = ('setup script', allow_hosts)
return opts

Expand Down Expand Up @@ -921,14 +932,6 @@ def _silence():
sys.stderr = old_stderr


_err_help_msg = """
If the problem persists consider installing astropy_helpers manually using pip
(`pip install astropy_helpers`) or by manually downloading the source archive,
extracting it, and installing by running `python setup.py install` from the
root of the extracted source code.
"""


class _AHBootstrapSystemExit(SystemExit):
def __init__(self, *args):
if not args:
Expand Down
2 changes: 1 addition & 1 deletion astropy_helpers
Submodule astropy_helpers updated 94 files
+39 −0 .circleci/config.yml
+0 −0 .coveragerc
+3 −2 .gitignore
+10 −0 .readthedocs.yml
+97 −29 .travis.yml
+164 −1 CHANGES.rst
+1 −0 MANIFEST.in
+19 −42 README.rst
+114 −87 ah_bootstrap.py
+0 −45 appveyor.yml
+1 −4 astropy_helpers/__init__.py
+3 −11 astropy_helpers/commands/_dummy.py
+0 −307 astropy_helpers/commands/_test_compat.py
+165 −435 astropy_helpers/commands/build_ext.py
+0 −39 astropy_helpers/commands/build_py.py
+105 −143 astropy_helpers/commands/build_sphinx.py
+0 −14 astropy_helpers/commands/install.py
+0 −14 astropy_helpers/commands/install_lib.py
+0 −53 astropy_helpers/commands/register.py
+0 −5 astropy_helpers/commands/setup_package.py
+14 −36 astropy_helpers/commands/src/compiler.c
+17 −12 astropy_helpers/commands/test.py
+0 −12 astropy_helpers/compat/__init__.py
+9 −3 astropy_helpers/conftest.py
+6 −0 astropy_helpers/distutils_helpers.py
+0 −11 astropy_helpers/extern/__init__.py
+0 −1 astropy_helpers/extern/automodapi/__init__.py
+0 −138 astropy_helpers/extern/automodapi/autodoc_enhancements.py
+0 −426 astropy_helpers/extern/automodapi/automodapi.py
+0 −686 astropy_helpers/extern/automodapi/automodsumm.py
+0 −107 astropy_helpers/extern/automodapi/smart_resolver.py
+0 −10 astropy_helpers/extern/automodapi/templates/autosummary_core/base.rst
+0 −65 astropy_helpers/extern/automodapi/templates/autosummary_core/class.rst
+0 −41 astropy_helpers/extern/automodapi/templates/autosummary_core/module.rst
+0 −214 astropy_helpers/extern/automodapi/utils.py
+0 −8 astropy_helpers/extern/numpydoc/__init__.py
+0 −624 astropy_helpers/extern/numpydoc/docscrape.py
+0 −425 astropy_helpers/extern/numpydoc/docscrape_sphinx.py
+0 −325 astropy_helpers/extern/numpydoc/numpydoc.py
+0 −16 astropy_helpers/extern/numpydoc/templates/numpydoc_docstring.rst
+0 −4 astropy_helpers/extern/setup_package.py
+2 −0 astropy_helpers/git_helpers.py
+226 −32 astropy_helpers/openmp_helpers.py
+96 −84 astropy_helpers/setup_helpers.py
+0 −8 astropy_helpers/sphinx/__init__.py
+2 −341 astropy_helpers/sphinx/conf.py
+0 −2 astropy_helpers/sphinx/ext/__init__.py
+0 −82 astropy_helpers/sphinx/ext/changelog_links.py
+0 −56 astropy_helpers/sphinx/ext/doctest.py
+0 −168 astropy_helpers/sphinx/ext/edit_on_github.py
+0 −0 astropy_helpers/sphinx/ext/tests/__init__.py
+0 −22 astropy_helpers/sphinx/ext/tocdepthfix.py
+ astropy_helpers/sphinx/local/python2_local_links.inv
+0 −25 astropy_helpers/sphinx/local/python2_local_links.txt
+ astropy_helpers/sphinx/local/python3_local_links.inv
+0 −38 astropy_helpers/sphinx/local/python3_local_links.txt
+0 −10 astropy_helpers/sphinx/setup_package.py
+0 −3 astropy_helpers/sphinx/themes/bootstrap-astropy/globaltoc.html
+0 −96 astropy_helpers/sphinx/themes/bootstrap-astropy/layout.html
+0 −3 astropy_helpers/sphinx/themes/bootstrap-astropy/localtoc.html
+0 −7 astropy_helpers/sphinx/themes/bootstrap-astropy/searchbox.html
+0 −75 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
+0 −87 astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_logo.svg
+ astropy_helpers/sphinx/themes/bootstrap-astropy/static/astropy_logo_32.png
+0 −601 astropy_helpers/sphinx/themes/bootstrap-astropy/static/bootstrap-astropy.css
+0 −63 astropy_helpers/sphinx/themes/bootstrap-astropy/static/copybutton.js
+0 −160 astropy_helpers/sphinx/themes/bootstrap-astropy/static/sidebar.js
+0 −10 astropy_helpers/sphinx/themes/bootstrap-astropy/theme.conf
+0 −13 astropy_helpers/test_helpers.py
+3 −0 astropy_helpers/tests/__init__.py
+0 −1 astropy_helpers/tests/test_ah_bootstrap.py
+57 −16 astropy_helpers/tests/test_git_helpers.py
+32 −3 astropy_helpers/tests/test_openmp_helpers.py
+43 −208 astropy_helpers/tests/test_setup_helpers.py
+16 −568 astropy_helpers/utils.py
+94 −40 astropy_helpers/version_helpers.py
+19 −0 docs/Makefile
+22 −0 docs/advanced.rst
+14 −0 docs/api.rst
+273 −0 docs/basic.rst
+52 −0 docs/conf.py
+29 −0 docs/developers.rst
+36 −0 docs/index.rst
+12 −0 docs/known_issues.rst
+35 −0 docs/make.bat
+28 −0 docs/updating.rst
+53 −0 docs/using.rst
+0 −50 licenses/LICENSE_COPYBUTTON.rst
+0 −94 licenses/LICENSE_NUMPYDOC.rst
+3 −0 pyproject.toml
+37 −0 setup.cfg
+17 −44 setup.py

0 comments on commit 751bb90

Please sign in to comment.