Update build

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-11-22 11:40:58 +01:00
parent e9b4667ffc
commit 4fb7752493
3 changed files with 9 additions and 7 deletions

View File

@ -58,7 +58,7 @@ def check(version, repo, native=True):
def make_path_for(name): 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): if os.path.exists(path):
logging.debug("[update] deleting %s" % path) logging.debug("[update] deleting %s" % path)
shutil.rmtree(path, ignore_errors=True, onerror=None) shutil.rmtree(path, ignore_errors=True, onerror=None)

View File

@ -1,5 +1,5 @@
[build-system] [build-system]
requires = ["setuptools"] requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
@ -8,7 +8,6 @@ dynamic = ["version"]
dependencies = [ dependencies = [
"Pillow", "Pillow",
"PyYAML", "PyYAML",
"rpi.lgpio",
"dbus-python", "dbus-python",
"file-read-backwards", "file-read-backwards",
"flask", "flask",
@ -17,13 +16,17 @@ dependencies = [
"gast", "gast",
"gpiozero", "gpiozero",
"inky", "inky",
"numpy",
"pycryptodome", "pycryptodome",
"pydrive2", "pydrive2",
"python-dateutil", "python-dateutil",
"requests", "requests",
"rpi-lgpio",
"rpi_hardware_pwm", "rpi_hardware_pwm",
"scapy", "scapy",
"setuptools",
"shimmy", "shimmy",
"smbus",
"smbus2", "smbus2",
"spidev", "spidev",
"toml", "toml",
@ -50,9 +53,11 @@ classifiers = [
[project.urls] [project.urls]
Homepage = "https://pwnagotchi.org/" Homepage = "https://pwnagotchi.org/"
Documentation = "https://pwnagotchi.org/" Documentation = "https://github.com/jayofelony/pwnagotchi/wiki"
Repository = "https://github.com/jayofelony/pwnagotchi.git" Repository = "https://github.com/jayofelony/pwnagotchi.git"
GitHub = "https://github.com/jayofelony/pwnagotchi"
Issues = "https://github.com/jayofelony/pwnagotchi/issues" Issues = "https://github.com/jayofelony/pwnagotchi/issues"
Download = "https://github.com/jayofelony/pwnagotchi/releases/latest"
[project.scripts] [project.scripts]
pwnagotchi_cli = "bin.pwnagotchi:pwnagotchi_cli" pwnagotchi_cli = "bin.pwnagotchi:pwnagotchi_cli"

View File

@ -95,9 +95,6 @@ setup(name='pwnagotchi',
author_email='evilsocket@gmail.com', author_email='evilsocket@gmail.com',
url='https://pwnagotchi.ai/', url='https://pwnagotchi.ai/',
license='GPL', license='GPL',
install_requires=[
required,
],
cmdclass={ cmdclass={
"install": CustomInstall, "install": CustomInstall,
}, },