Skip to content

Commit

Permalink
Update manifest and docs configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Dec 13, 2019
1 parent b2c5f32 commit 3c36831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
21 changes: 1 addition & 20 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include README.rst
include CHANGES.rst
include LICENSE.rst

include ah_bootstrap.py
include pyproject.toml
include setup.cfg
include astrowidgets/tests/coveragerc

Expand All @@ -14,25 +14,6 @@ prune build
prune docs/_build
prune docs/api

# the next few stanzas are for astropy_helpers. It's derived from the
# astropy_helpers/MANIFEST.in, but requires additional includes for the actual
# package directory and egg-info.

include astropy_helpers/README.rst
include astropy_helpers/CHANGES.rst
include astropy_helpers/LICENSE.rst
recursive-include astropy_helpers/licenses *

include astropy_helpers/ah_bootstrap.py

recursive-include astropy_helpers/astropy_helpers *.py *.pyx *.c *.h *.rst
recursive-include astropy_helpers/astropy_helpers.egg-info *
# include the sphinx stuff with "*" because there are css/html/rst/etc.
recursive-include astropy_helpers/astropy_helpers/sphinx *

prune astropy_helpers/build
prune astropy_helpers/astropy_helpers/tests

# Miscellaneous

global-exclude *.pyc *.o
5 changes: 1 addition & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@
sys.exit(1)

# Get configuration information from setup.cfg
try:
from ConfigParser import ConfigParser
except ImportError:
from configparser import ConfigParser
from configparser import ConfigParser
conf = ConfigParser()

conf.read([os.path.join(os.path.dirname(__file__), '..', 'setup.cfg')])
Expand Down

0 comments on commit 3c36831

Please sign in to comment.