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):
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)

View File

@ -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"

View File

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