ops: improve the layering of the docker image

This commit is contained in:
Karim shoair
2025-09-29 02:53:06 +03:00
parent 840aef6884
commit 0cf3bcf3aa
2 changed files with 22 additions and 21 deletions
+2 -4
View File
@@ -4,7 +4,8 @@ build-backend = "setuptools.build_meta"
[project]
name = "scrapling"
dynamic = ["version"]
# Static version instead of dynamic version so we can get better layer caching while building docker, check the docker file to understand
version = "0.3.6"
description = "Scrapling is an undetectable, powerful, flexible, high-performance Python library that makes Web Scraping easy and effortless as it should be!"
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
@@ -99,9 +100,6 @@ scrapling = "scrapling.cli:main"
zip-safe = false
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "scrapling.__version__"}
[tool.setuptools.packages.find]
where = ["."]
include = ["scrapling*"]