From 0456a377b3deef09a533b79224f4590e02372040 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 31 Jan 2020 13:17:58 +0000 Subject: [WIP] Initial commit of HTML provider --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index bddbd24..b8e3a86 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,10 @@ REQUIRED = [ "titlecase>=0.12", "PyPDF2>=1.26", "regex>=2018.11" + "readability-lxml>=0.7.1", + "html2text>=2020.1.16", + "weasyprint>=51", + "markdown>=3.1.1" ] docs_require = [] -- cgit v1.2.3 From 1a957d97c9f3ea865820030e55d3c029c801fce3 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 3 Feb 2020 12:37:31 +0000 Subject: Fix typo in setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index b8e3a86..82a693a 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ REQUIRED = [ "unidecode>=1.1", "titlecase>=0.12", "PyPDF2>=1.26", - "regex>=2018.11" + "regex>=2018.11", "readability-lxml>=0.7.1", "html2text>=2020.1.16", "weasyprint>=51", -- cgit v1.2.3 From 603353cd2cf16f99cc5eb823918105146fea6bcb Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Sat, 20 Jun 2020 22:59:40 +0100 Subject: Make readabilipy an optional dependency --- setup.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 82a693a..d1de5bd 100644 --- a/setup.py +++ b/setup.py @@ -29,18 +29,23 @@ REQUIRED = [ "readability-lxml>=0.7.1", "html2text>=2020.1.16", "weasyprint>=51", - "markdown>=3.1.1" + "markdown>=3.1.1", ] +full_require = [ + # TEMPORARY: Until ReadabiliPy is available on PyPI + "readabilipy @ git+https://git@github.com/GjjvdBurg/ReadabiliPy@packaging#egg=readabilipy", +] docs_require = [] test_require = [] dev_require = ["green"] # What packages are optional? EXTRAS = { + "full": full_require, "docs": docs_require, "tests": test_require, - "dev": docs_require + test_require + dev_require, + "dev": docs_require + test_require + dev_require + full_require, } # The rest you shouldn't have to touch too much :) -- cgit v1.2.3 From 0bf303a5607f42658252ef27e9f3fee3e6b84d19 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 25 Sep 2020 22:26:14 +0200 Subject: Clean up "full" installation mode --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index d1de5bd..0635253 100644 --- a/setup.py +++ b/setup.py @@ -32,10 +32,7 @@ REQUIRED = [ "markdown>=3.1.1", ] -full_require = [ - # TEMPORARY: Until ReadabiliPy is available on PyPI - "readabilipy @ git+https://git@github.com/GjjvdBurg/ReadabiliPy@packaging#egg=readabilipy", -] +full_require = ["readabilipy"] docs_require = [] test_require = [] dev_require = ["green"] -- cgit v1.2.3 From 8e0804ad491f2179135a138f9656088213ae8431 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 25 Sep 2020 22:29:44 +0200 Subject: Ensure we test the test version on travis --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 0635253..25b6895 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ dev_require = ["green"] EXTRAS = { "full": full_require, "docs": docs_require, - "tests": test_require, + "test": test_require + full_require, "dev": docs_require + test_require + dev_require + full_require, } -- cgit v1.2.3 From 7e1c84db7d11541062709eb5208c2f804fac4da8 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 25 Sep 2020 22:34:21 +0200 Subject: Move green to test dependencies --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 25b6895..54a8cb1 100644 --- a/setup.py +++ b/setup.py @@ -34,8 +34,8 @@ REQUIRED = [ full_require = ["readabilipy"] docs_require = [] -test_require = [] -dev_require = ["green"] +test_require = ["green"] +dev_require = [] # What packages are optional? EXTRAS = { -- cgit v1.2.3