mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
fix: reduce distribution size
This commit is contained in:
committed by
Sebastian Thomschke
parent
6ede14596d
commit
f1cd597dd8
@@ -22,9 +22,13 @@ excluded_modules = [
|
|||||||
"bz2",
|
"bz2",
|
||||||
"ftplib",
|
"ftplib",
|
||||||
"lzma",
|
"lzma",
|
||||||
|
"mypy", # wrongly included dev-dep
|
||||||
|
"rich", # wrongly included dev-dep (transitive dep of pip-audit)
|
||||||
"setuptools",
|
"setuptools",
|
||||||
"smtplib",
|
"smtplib",
|
||||||
"statistics",
|
"statistics",
|
||||||
|
"toml", # wrongly included dev-dep (transitive dep of pip-audit)
|
||||||
|
"tomllib",
|
||||||
"tracemalloc",
|
"tracemalloc",
|
||||||
"xml.sax",
|
"xml.sax",
|
||||||
"xmlrpc"
|
"xmlrpc"
|
||||||
|
|||||||
@@ -92,6 +92,11 @@ generate-schemas = "python scripts/generate_schemas.py"
|
|||||||
compile.cmd = "python -O -m PyInstaller pyinstaller.spec --clean"
|
compile.cmd = "python -O -m PyInstaller pyinstaller.spec --clean"
|
||||||
compile.env = {PYTHONHASHSEED = "1", SOURCE_DATE_EPOCH = "0"} # https://pyinstaller.org/en/stable/advanced-topics.html#creating-a-reproducible-build
|
compile.env = {PYTHONHASHSEED = "1", SOURCE_DATE_EPOCH = "0"} # https://pyinstaller.org/en/stable/advanced-topics.html#creating-a-reproducible-build
|
||||||
|
|
||||||
|
deps = "pdm list --fields name,version,groups"
|
||||||
|
"deps:tree" = "pdm list --tree"
|
||||||
|
"deps:runtime" = "pdm list --fields name,version,groups --include default"
|
||||||
|
"deps:runtime:tree" = "pdm list --tree --include default"
|
||||||
|
|
||||||
# format & lint
|
# format & lint
|
||||||
format = { composite = ["format:py", "format:yaml"] }
|
format = { composite = ["format:py", "format:yaml"] }
|
||||||
"format:py" = { shell = "autopep8 --recursive --in-place scripts src tests --verbose && python scripts/post_autopep8.py scripts src tests" }
|
"format:py" = { shell = "autopep8 --recursive --in-place scripts src tests --verbose && python scripts/post_autopep8.py scripts src tests" }
|
||||||
|
|||||||
Reference in New Issue
Block a user