diff options
| author | yum <yum.food.vr@gmail.com> | 2022-12-17 17:26:16 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2022-12-17 17:26:16 -0800 |
| commit | 4d836989720523cd0363927e3e066f56b9dc445c (patch) | |
| tree | f7a9ff7cb50eda1ff29e91c78067dcc5e0ce6233 /Python/Dependencies/future-0.18.2/docs/_templates | |
| parent | da754e9cf5b192239826aa1619e1ada3c98daa45 (diff) | |
Check in `future` package
I hit some issues installing Whisper and had to embed this package.
I haven't taken the time to deeply understand what's going on. I think
that embedded Python follows different rules about resolving module
paths than regular system Python.
Basically, `future`'s setup.py has a line like `import src`, where
`src` is a module inside future (like `future/src/__init__.py`). This
doesn't work unless we put that directory on the search path.
Diffstat (limited to 'Python/Dependencies/future-0.18.2/docs/_templates')
5 files changed, 115 insertions, 0 deletions
diff --git a/Python/Dependencies/future-0.18.2/docs/_templates/layout.html b/Python/Dependencies/future-0.18.2/docs/_templates/layout.html new file mode 100644 index 0000000..c979ab2 --- /dev/null +++ b/Python/Dependencies/future-0.18.2/docs/_templates/layout.html @@ -0,0 +1,33 @@ +{# Import the theme's layout. #} +{% extends "!layout.html" %} + +{% block extrahead %} +{{ super() }} +<script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-19344199-2']); + _gaq.push(['_trackPageview']); +</script> +{% endblock %} + +{% block footer %} +{{ super() }} +<div class="footer"> +<script type="text/javascript"> + (function() { + var ga = document.createElement('script'); + ga.src = ('https:' == document.location.protocol ? + 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + ga.setAttribute('async', 'true'); + document.documentElement.firstChild.appendChild(ga); + })(); +</script> +</div> +{% endblock %} + + +{# Import the theme's layout. #} + + +{# Include our new CSS file into existing ones. #} +{% set css_files = css_files + ['_static/my-styles.css'] %} diff --git a/Python/Dependencies/future-0.18.2/docs/_templates/navbar.html b/Python/Dependencies/future-0.18.2/docs/_templates/navbar.html new file mode 100644 index 0000000..b77fb76 --- /dev/null +++ b/Python/Dependencies/future-0.18.2/docs/_templates/navbar.html @@ -0,0 +1,57 @@ +<a href="https://github.com/PythonCharmers/python-future"><img style="position: absolute; top: 45px; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a> +<div id="navbar" class="{{ theme_navbar_class }} navbar-default {% if theme_navbar_fixed_top == 'true' -%} navbar-fixed-top{%- endif -%}"> + + <div class="container"> + + <div class="navbar-header"> + + <!-- .btn-navbar is used as the toggle for collapsed navbar content --> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + <a class="logo"> <img height="32" width="32" src="_static/python-future-logo-textless-transparent.png" /></a> + <a class="navbar-brand" href="{{ pathto(master_doc) }}">{% if theme_navbar_title -%}{{ theme_navbar_title|e }}{%- else -%}{{ project|e }}{%- endif -%}</a> + <span class="navbar-text navbar-version pull-left"><b>{{ version|e }}</b></span> + </div> + <div class="collapse navbar-collapse nav-collapse"> + <ul class="nav navbar-nav"> + <li class="divider-vertical"></li> + {% if theme_navbar_links %} + {%- for link in theme_navbar_links %} + <li><a href="{{ pathto(*link[1:]) }}">{{ link[0] }}</a></li> + {%- endfor %} + {% endif %} + {% block navbartoc %} + {% include "globaltoc.html" %} + {% if theme_navbar_pagenav %} + {% include "navbartoc.html" %} + {% endif %} + {% endblock %} + {% if theme_navbar_sidebarrel %} + {% block sidebarrel %} + {% include "relations.html" %} + {% endblock %} + {% endif %} + {% block navbarextra %} + {% endblock %} + {% if theme_source_link_position == "nav" %} + + <li>{%- if show_source and has_source and sourcename %} + <a href="{{ pathto('_sources/' + sourcename, true)|e }}" + rel="nofollow">{{ _('Source') }}</a> + {%- endif %} + </li> + + {% endif %} + </ul> + + {% block navbarsearch %} + {% include "navbarsearchbox.html" %} + {% endblock %} + + </div> + </div> + </div> diff --git a/Python/Dependencies/future-0.18.2/docs/_templates/sidebarintro.html b/Python/Dependencies/future-0.18.2/docs/_templates/sidebarintro.html new file mode 100644 index 0000000..e443322 --- /dev/null +++ b/Python/Dependencies/future-0.18.2/docs/_templates/sidebarintro.html @@ -0,0 +1,21 @@ +<!--<h3>Python-Future</h3> +<p>--> + <h4>Easy, clean, reliable Python 2/3 compatibility</h4> + <a href="http://python-future.org">Table of Contents</a> +<!-- +</p> +<h3>Other Formats</h3> +<p> + You can download the documentation in other formats as well: +</p> +<ul> + <li><a href="http://jinja.pocoo.org/docs/jinja-docs.pdf">as PDF</a> + <li><a href="http://jinja.pocoo.org/docs/jinja-docs.zip">as zipped HTML</a> +</ul> +--> +<!--<h3>Useful Links</h3> +<ul> + <li><a href="https://pypi.org/project/future/">on PyPI</a></li> + <li><a href="https://github.com/PythonCharmers/python-future">on GitHub</a></li> +</ul> +--> diff --git a/Python/Dependencies/future-0.18.2/docs/_templates/sidebarlogo.html b/Python/Dependencies/future-0.18.2/docs/_templates/sidebarlogo.html new file mode 100644 index 0000000..cf875c3 --- /dev/null +++ b/Python/Dependencies/future-0.18.2/docs/_templates/sidebarlogo.html @@ -0,0 +1,3 @@ +<p class="logo"><a href="{{ pathto(master_doc) }}"> + <img class="logo" src="{{ pathto('_static/python-future-logo.png', 1) }}" width="150" alt="Logo"/> +</a></p> diff --git a/Python/Dependencies/future-0.18.2/docs/_templates/sidebartoc.html b/Python/Dependencies/future-0.18.2/docs/_templates/sidebartoc.html new file mode 100644 index 0000000..0d119af --- /dev/null +++ b/Python/Dependencies/future-0.18.2/docs/_templates/sidebartoc.html @@ -0,0 +1 @@ +{{ toctree(maxdepth=theme_globaltoc_depth|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
