Setting up setuptools

This commit is contained in:
Johannes Rothe 2022-08-01 22:16:49 +02:00
parent c6d39ee579
commit e6be0ab494
4 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
# Requirements # Requirements
`apt install python3-pydantic python3-httpx python3-bs4 python3-tqdm locales-all && sudo locale-gen` `apt install python3-pydantic python3-httpx python3-bs4 python3-tqdm locales-all && sudo locale-gen`
# Windows build
1. install wine
2. create venv and `pip install .`
3. `wine pyinstaller --paths=venv/lib/python3.10/site-packages/ --collect-submodules=lxml --onefile scraperoog/scrape.py`

16
pyproject.toml Normal file
View File

@ -0,0 +1,16 @@
[project]
name = "scraperoog"
version = "0.0.2"
dependencies = [
"tqdm",
"bs4",
"lxml",
"httpx",
"pydantic",
]
[tool.setuptools.packages]
find = {}
[project.scripts]
scraperoog = "scraperoog.scrape:main"

0
scraperoog/__init__.py Normal file
View File