From 4d836989720523cd0363927e3e066f56b9dc445c Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 17 Dec 2022 17:26:16 -0800 Subject: 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. --- .../future-0.18.2/docs/_templates/layout.html | 33 +++++++++++++ .../future-0.18.2/docs/_templates/navbar.html | 57 ++++++++++++++++++++++ .../docs/_templates/sidebarintro.html | 21 ++++++++ .../future-0.18.2/docs/_templates/sidebarlogo.html | 3 ++ .../future-0.18.2/docs/_templates/sidebartoc.html | 1 + 5 files changed, 115 insertions(+) create mode 100644 Python/Dependencies/future-0.18.2/docs/_templates/layout.html create mode 100644 Python/Dependencies/future-0.18.2/docs/_templates/navbar.html create mode 100644 Python/Dependencies/future-0.18.2/docs/_templates/sidebarintro.html create mode 100644 Python/Dependencies/future-0.18.2/docs/_templates/sidebarlogo.html create mode 100644 Python/Dependencies/future-0.18.2/docs/_templates/sidebartoc.html (limited to 'Python/Dependencies/future-0.18.2/docs/_templates') 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() }} + +{% endblock %} + +{% block footer %} +{{ super() }} + +{% 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 @@ +Fork me on GitHub + 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 @@ + +

Easy, clean, reliable Python 2/3 compatibility

+ Table of Contents + + 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 @@ + 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) }} -- cgit v1.2.3