fix: pyproject

This commit is contained in:
Marco Vinciguerra 2024-12-16 11:13:16 +01:00
parent 7a5764e3fd
commit 76ac0a2141
3 changed files with 12 additions and 11 deletions

View File

@ -108,30 +108,28 @@ screenshot_scraper = [
]
[build-system]
requires = ["hatchling>=1.0.0"]
requires = ["hatchling>=1.0.0", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "pyproject.toml"
[tool.hatch.build]
include = [
"scrapegraphai/**/*.py",
"scrapegraphai/**/*.typed",
"/tests",
]
packages = ["scrapegraphai"]
exclude = [
"tests/**",
"examples/**",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "scrapegraphai/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["scrapegraphai"]
[tool.hatch.build.targets.sdist]
include = [
"/scrapegraphai",
"/tests",
"pyproject.toml",
"README.md",
"LICENSE",

View File

@ -1,4 +1,4 @@
"""
__init__.py file for scrapegraphai folder
"""
__version__ = "1.33.5"
__version__ = "1.33.7"

View File

@ -0,0 +1,3 @@
"""Version information."""
__version__ = "1.33.7"
version = __version__