Skip to content

Commit

Permalink
chore: move version SSOT to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
bytexenon committed Nov 30, 2024
1 parent 2c303a2 commit 1d6ec41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ source = "init"

[tool.poetry]
name = "sherlock-project"
# single source of truth for version is __init__.py
version = "0"
version = "0.15.0"
description = "Hunt down social media accounts by username across social networks"
license = "MIT"
authors = [
Expand Down
4 changes: 3 additions & 1 deletion sherlock_project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"""

from importlib.metadata import version

# This variable is only used to check for ImportErrors induced by users running as script rather than as module or package
import_error_test_var = None

__shortname__ = "Sherlock"
__longname__ = "Sherlock: Find Usernames Across Social Networks"
__version__ = "0.15.0"
__version__ = version("sherlock-project")

forge_api_latest_release = "https://api.github.com/repos/sherlock-project/sherlock/releases/latest"

0 comments on commit 1d6ec41

Please sign in to comment.