diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-11-14 13:11:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 13:11:28 +0100 |
commit | 3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6 (patch) | |
tree | e72dcf67429f424332a3696d3be7e0ea8c166baf /lib/spack/docs/conf.py | |
parent | f4c3d980647cd1fad8a9b179eef1461bfad77469 (diff) | |
download | spack-3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6.tar.gz spack-3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6.tar.bz2 spack-3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6.tar.xz spack-3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6.zip |
Remove support for running with Python 2.7 (#33063)
* Remove CI jobs related to Python 2.7
* Remove Python 2.7 specific code from Spack core
* Remove externals for Python 2 only
* Remove llnl.util.compat
Diffstat (limited to 'lib/spack/docs/conf.py')
-rw-r--r-- | lib/spack/docs/conf.py | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index 4fc321c72d..55848106de 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -37,12 +37,6 @@ if not os.path.exists(link_name): os.symlink(os.path.abspath("../../.."), link_name, target_is_directory=True) sys.path.insert(0, os.path.abspath("_spack_root/lib/spack/external")) sys.path.insert(0, os.path.abspath("_spack_root/lib/spack/external/pytest-fallback")) - -if sys.version_info[0] < 3: - sys.path.insert(0, os.path.abspath("_spack_root/lib/spack/external/yaml/lib")) -else: - sys.path.insert(0, os.path.abspath("_spack_root/lib/spack/external/yaml/lib3")) - sys.path.append(os.path.abspath("_spack_root/lib/spack/")) # Add the Spack bin directory to the path so that we can use its output in docs. @@ -160,8 +154,8 @@ source_encoding = "utf-8-sig" master_doc = "index" # General information about the project. -project = u"Spack" -copyright = u"2013-2021, Lawrence Livermore National Laboratory." +project = "Spack" +copyright = "2013-2021, Lawrence Livermore National Laboratory." # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -350,7 +344,7 @@ latex_elements = { # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ("index", "Spack.tex", u"Spack Documentation", u"Todd Gamblin", "manual"), + ("index", "Spack.tex", "Spack Documentation", "Todd Gamblin", "manual"), ] # The name of an image file (relative to this directory) to place at the top of @@ -378,7 +372,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [("index", "spack", u"Spack Documentation", [u"Todd Gamblin"], 1)] +man_pages = [("index", "spack", "Spack Documentation", ["Todd Gamblin"], 1)] # If true, show URL addresses after external links. # man_show_urls = False @@ -393,8 +387,8 @@ texinfo_documents = [ ( "index", "Spack", - u"Spack Documentation", - u"Todd Gamblin", + "Spack Documentation", + "Todd Gamblin", "Spack", "One line description of project.", "Miscellaneous", |