diff --git a/pyproject.toml b/pyproject.toml index 0c1a2c7e6..d6e5d17b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,30 +1,28 @@ [build-system] -requires = ["setuptools >= 61.0"] -build-backend = "setuptools.build_meta" +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" -[project.scripts] -sherlock = "sherlock:main" +[tool.poetry.dependencies] +python = "^3.12" -[project.urls] -Homepage = "http://sherlock-project.github.io/" -Repository = "https://github.com/sherlock-project/sherlock.git" -Issues = "https://github.com/sherlock-project/sherlock/issues" - -[project] +[tool.poetry] name = "Sherlock" -authors = [ - { name = "Sherlock Project (Siddharth Dushantha)" } -] +description = "Hunt down social media accounts by username across social networks" +version = "0.0.1" +homepage = "http://sherlock-project.github.io/" +repository = "https://github.com/sherlock-project/sherlock.git" +authors = [ "Sherlock Project" ] maintainers = [ - { name = "Siddharth Dushantha :: https://github.com/sdushantha" }, - { name = "Matheus Felipe :: https://github.com/matheusfelipeog" }, - { name = "Sondreal :: https://github.com/sondreal" }, - { name = "Paul Pfeister :: https://github.com/ppfeister" } + "Siddharth Dushantha", + "Matheus Felipe", + "Sondreal", + "Paul Pfeister" ] -description = "Hunt down social media accounts by username across social networks" readme = "README.md" -license = {file = "LICENSE"} -dynamic = ["dependencies", "version"] +packages = [ + { include = "sherlock" } +] +license = "MIT" keywords = [ "osint", "reconnaissance", "information gathering" ] classifiers = [ "Development Status :: 5 - Production/Stable", @@ -38,9 +36,10 @@ classifiers = [ "Topic :: Security" ] -[tool.setuptools.dynamic] -dependencies = { file = [ "requirements.txt" ] } -version = { attr = "sherlock.__version__" } +[tools.poetry.urls] +Homepage = "http://sherlock-project.github.io/" +Repository = "https://github.com/sherlock-project/sherlock.git" +Issues = "https://github.com/sherlock-project/sherlock/issues" -[tool.setuptools] -package-dir = {"" = "sherlock"} +[tool.poetry.scripts] +sherlock = "sherlock:main" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 8929bbae7..000000000 --- a/setup.cfg +++ /dev/null @@ -1,4 +0,0 @@ -[metadata] -name = Sherlock -author = Sherlock Project -url = http://sherlock-project.github.io/