Skip to content

Commit 76ac0a2

Browse files
committed
fix: pyproject
1 parent 7a5764e commit 76ac0a2

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

pyproject.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,30 +108,28 @@ screenshot_scraper = [
108108
]
109109

110110
[build-system]
111-
requires = ["hatchling>=1.0.0"]
111+
requires = ["hatchling>=1.0.0", "hatch-vcs"]
112112
build-backend = "hatchling.build"
113113

114-
[tool.hatch.version]
115-
path = "pyproject.toml"
116-
117114
[tool.hatch.build]
118-
include = [
119-
"scrapegraphai/**/*.py",
120-
"scrapegraphai/**/*.typed",
121-
"/tests",
122-
]
115+
packages = ["scrapegraphai"]
123116
exclude = [
124117
"tests/**",
125118
"examples/**",
126119
]
127120

121+
[tool.hatch.version]
122+
source = "vcs"
123+
124+
[tool.hatch.build.hooks.vcs]
125+
version-file = "scrapegraphai/_version.py"
126+
128127
[tool.hatch.build.targets.wheel]
129128
packages = ["scrapegraphai"]
130129

131130
[tool.hatch.build.targets.sdist]
132131
include = [
133132
"/scrapegraphai",
134-
"/tests",
135133
"pyproject.toml",
136134
"README.md",
137135
"LICENSE",

scrapegraphai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
22
__init__.py file for scrapegraphai folder
33
"""
4-
__version__ = "1.33.5"
4+
__version__ = "1.33.7"

scrapegraphai/_version.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"""Version information."""
2+
__version__ = "1.33.7"
3+
version = __version__

0 commit comments

Comments
 (0)