Skip to content

Commit

Permalink
🛠️ Add command-line script to package.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjc committed Aug 30, 2023
1 parent 485a6b8 commit 43c8748
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ include = [
"data/tos.jsonl",
]

[tool.poetry.scripts]
weboptout = "weboptout.__main__:main"

[tool.poetry.dependencies]
python = ">=3.9"
aiohttp = ">=3.8"
langdetect = ">=1.0.9"
beautifulsoup4 = ">=4.12"
selenium = { version = ">=4.7", optional = true }
click = "^8.1.7"

[tool.poetry.extras]
webdriver = ["selenium"]
Expand All @@ -33,4 +37,4 @@ pytest-cov = ">=3.0.0"

[build-system]
requires = ["poetry>=1.5"]
build-backend = "poetry.masonry.api"
build-backend = "poetry.masonry.api"

0 comments on commit 43c8748

Please sign in to comment.