diff --git a/README.md b/README.md index 0bffcbb..7c142ba 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ # Requirements `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` diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b62654b --- /dev/null +++ b/pyproject.toml @@ -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" diff --git a/scraperoog/__init__.py b/scraperoog/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/scrape.py b/scraperoog/scrape.py similarity index 100% rename from scrape.py rename to scraperoog/scrape.py