Skip to content

Commit

Permalink
Make sure setup.py gets included in distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
namurphy committed May 11, 2021
1 parent 960575d commit 427198b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include README.md
include CHANGES.rst
include setup.cfg
include setup.py
include LICENSE
include pyproject.toml

Expand Down
25 changes: 18 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config

from datetime import datetime

# -- Project information -----------------------------------------------------

project = 'xrtpy'
copyright = '2020, Joy Velasquez'
author = 'Joy Velasquez'
author = 'Joy Velasquez and Nick Murphy'

# TODO: Simplify the copyright year commands in 2022
current_year = datetime.utcnow().year
copyright_years = str(current_year) if current_year == 2021 else f"2021–{current_year}"

copyright = f'{copyright_years}, {author}'

# The full version, including alpha/beta/rc tags
#from xrtpy import __version__
Expand Down Expand Up @@ -55,14 +59,21 @@

# -- Options for intersphinx extension ---------------------------------------

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
"astropy": ("https://docs.astropy.org/en/stable/", None),
"sunpy": ("https://docs.sunpy.org/en/stable/", None),
"ndcube": ("https://docs.sunpy.org/projects/ndcube/en/stable/", None),
}

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'alabaster'
html_theme = 'bizstyle'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down

0 comments on commit 427198b

Please sign in to comment.