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] [build-system]
requires = ["hatchling>=1.0.0"] requires = ["hatchling>=1.0.0", "hatch-vcs"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[tool.hatch.version]
path = "pyproject.toml"
[tool.hatch.build] [tool.hatch.build]
include = [ packages = ["scrapegraphai"]
"scrapegraphai/**/*.py",
"scrapegraphai/**/*.typed",
"/tests",
]
exclude = [ exclude = [
"tests/**", "tests/**",
"examples/**", "examples/**",
] ]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "scrapegraphai/_version.py"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["scrapegraphai"] packages = ["scrapegraphai"]
[tool.hatch.build.targets.sdist] [tool.hatch.build.targets.sdist]
include = [ include = [
"/scrapegraphai", "/scrapegraphai",
"/tests",
"pyproject.toml", "pyproject.toml",
"README.md", "README.md",
"LICENSE", "LICENSE",

View File

@ -1,4 +1,4 @@
""" """
__init__.py file for scrapegraphai folder __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__