Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move version SSOT to pyproject.toml #2376

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"