File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ all: setup develop
2424venv : .venv/bin/python
2525
2626setup : venv
27- $(PIP ) install -r requirements-dev.txt
27+ $(PIP ) install -r requirements-dev.txt | grep -v " already satisfied " || true
2828
2929.venv/bin/python :
3030 test -d .venv || which python3 && python3 -m venv .venv || virtualenv .venv
@@ -45,6 +45,10 @@ develop: .venv/lib/python*/site-packages/readability-lxml.egg-link
4545.PHONY : clean_all
4646clean_all : clean_venv
4747
48+ .PHONY : build
49+ build :
50+ poetry build
51+
4852# ###########
4953# Deploy
5054# ###########
Original file line number Diff line number Diff line change @@ -4,12 +4,18 @@ version = "0.8.4"
44description = " fast html to text parser (article readability tool) with python 3 support"
55authors = [" Yuri Baburov <burchik@gmail.com>" ]
66license = " Apache License 2.0"
7- readme = " README.rst"
7+ readme = " README.md"
8+ packages = [
9+ { include = " readability" },
10+ ]
811
912[tool .poetry .dependencies ]
1013python = " >=3.8.2,<3.14"
1114chardet = " ^5.2.0"
12- cssselect = " ~1.2"
15+ cssselect = [
16+ { version = " ~1.2" , markers = " python_version < '3.9'" },
17+ { version = " ~1.3" , markers = " python_version >= '3.9'" }
18+ ]
1319lxml = {extras = [" html-clean" ], version = " ^5.4.0" }
1420lxml-html-clean = {markers = " python_version < \" 3.11\" " , version = " ^0.4.2" }
1521
Original file line number Diff line number Diff line change 11nose
2- twine
2+ twine
3+ flake8
You can’t perform that action at this time.
0 commit comments