[gimp-web/testing] Fix python package versions for Python 2
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Fix python package versions for Python 2
- Date: Sun, 8 Dec 2019 18:53:04 +0000 (UTC)
commit 559def27d33d1f98d5e15d10311d17405c8c4993
Author: Pat David <patdavid gmail com>
Date: Tue Jul 16 08:31:52 2019 -0500
Fix python package versions for Python 2
Create a py2-requirements.txt file that has working versions of
the requirements for easy install:
`pip install -r p2-requirements.txt`
Add extra veresion verbiage to about/meta/
(cherry picked from commit 6fcfdcff547927884c240b537ae453aa5dc48ed7)
content/about/meta/index.md | 3 +++
py2-requirements.txt | 6 ++++++
2 files changed, 9 insertions(+)
---
diff --git a/content/about/meta/index.md b/content/about/meta/index.md
index 99eb8448..aa5cef97 100644
--- a/content/about/meta/index.md
+++ b/content/about/meta/index.md
@@ -37,8 +37,11 @@ This is the same procedure anyone can use to test new content they would like to
The version of Pelican the server uses is `3.6.2`.
Use this version for now to stay in sync with pentagon (the server).
3. Install some extra components:
+ You cane use the `py2-requirements.txt` file to install all the requirements at once:
+ `pip install -r py2-requirements.txt`.
* For [Markdown] support:
`pip install Markdown`
+ For Python 2, use `pip install Markdown==2.6.6`
* For fancy typography elements with [typogrify]:
`pip install typogrify`
* For some html scraping for the mirrors list [Beautifulsoup4]:
diff --git a/py2-requirements.txt b/py2-requirements.txt
new file mode 100644
index 00000000..d8616224
--- /dev/null
+++ b/py2-requirements.txt
@@ -0,0 +1,6 @@
+pelican==3.6.2
+Markdown==2.6.6
+pygeoip==0.3.2
+Pygments==2.2.0
+typogrify==2.0.7
+bs4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]