Update build

This commit is contained in:
jayofelony
2024-12-01 12:59:56 +01:00
parent 644d342daa
commit b8ecc7a75f

View File

@ -1,5 +1,5 @@
[build-system] [build-system]
requires = ["setuptools", "wheel"] requires = ["setuptools"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
@ -32,6 +32,10 @@ dependencies = [
"tweepy", "tweepy",
"websockets", "websockets",
] ]
[tool.setuptools.dynamic]
version = {attr = "pwnagotchi.__version__"}
requires-python = ">=3.11" requires-python = ">=3.11"
authors = [ authors = [
{name = "Evilsocket", email = "evilsocket@gmail.com"}, {name = "Evilsocket", email = "evilsocket@gmail.com"},
@ -59,4 +63,4 @@ Issues = "https://github.com/jayofelony/pwnagotchi/issues"
Download = "https://github.com/jayofelony/pwnagotchi/releases/latest" Download = "https://github.com/jayofelony/pwnagotchi/releases/latest"
[project.scripts] [project.scripts]
pwnagotchi_cli = "bin.pwnagotchi:pwnagotchi_cli" pwnagotchi = "bin.pwnagotchi:pwnagotchi_cli"