From 4fb77524935d8f6e1008e42ca0a14af2dec96d32 Mon Sep 17 00:00:00 2001 From: jayofelony Date: Fri, 22 Nov 2024 11:40:58 +0100 Subject: [PATCH] Update build Signed-off-by: jayofelony --- pwnagotchi/plugins/default/auto-update.py | 2 +- pyproject.toml | 11 ++++++++--- setup.py | 3 --- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pwnagotchi/plugins/default/auto-update.py b/pwnagotchi/plugins/default/auto-update.py index b5db680c..5168729e 100644 --- a/pwnagotchi/plugins/default/auto-update.py +++ b/pwnagotchi/plugins/default/auto-update.py @@ -58,7 +58,7 @@ def check(version, repo, native=True): def make_path_for(name): - path = os.path.join("/usr/local/src/", name) + path = os.path.join("/home/pi/", name) if os.path.exists(path): logging.debug("[update] deleting %s" % path) shutil.rmtree(path, ignore_errors=True, onerror=None) diff --git a/pyproject.toml b/pyproject.toml index d2b7e02b..b75d3dff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -8,7 +8,6 @@ dynamic = ["version"] dependencies = [ "Pillow", "PyYAML", - "rpi.lgpio", "dbus-python", "file-read-backwards", "flask", @@ -17,13 +16,17 @@ dependencies = [ "gast", "gpiozero", "inky", + "numpy", "pycryptodome", "pydrive2", "python-dateutil", "requests", + "rpi-lgpio", "rpi_hardware_pwm", "scapy", + "setuptools", "shimmy", + "smbus", "smbus2", "spidev", "toml", @@ -50,9 +53,11 @@ classifiers = [ [project.urls] Homepage = "https://pwnagotchi.org/" -Documentation = "https://pwnagotchi.org/" +Documentation = "https://github.com/jayofelony/pwnagotchi/wiki" Repository = "https://github.com/jayofelony/pwnagotchi.git" +GitHub = "https://github.com/jayofelony/pwnagotchi" Issues = "https://github.com/jayofelony/pwnagotchi/issues" +Download = "https://github.com/jayofelony/pwnagotchi/releases/latest" [project.scripts] pwnagotchi_cli = "bin.pwnagotchi:pwnagotchi_cli" diff --git a/setup.py b/setup.py index f236dc4e..9b132347 100644 --- a/setup.py +++ b/setup.py @@ -95,9 +95,6 @@ setup(name='pwnagotchi', author_email='evilsocket@gmail.com', url='https://pwnagotchi.ai/', license='GPL', - install_requires=[ - required, - ], cmdclass={ "install": CustomInstall, },