NI-Buildsystem

Benutzeravatar
vanhofen
Administrator
Beiträge: 3027
Registriert: Di 5. Apr 2016, 00:05
Has thanked: 27 times
Been thanked: 52 times

Re: NI-Buildsystem

Beitrag von vanhofen »

Du bist dir sicher, jokel, dass wir zwingend hatch-fancy-pypi-readme auf dem Host brauchen, um streamlink zu bauen?

https://github.com/hynek/hatch-fancy-pypi-readme#readme
Benutzeravatar
jokel
Beiträge: 2907
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 48 times
Been thanked: 170 times

Re: NI-Buildsystem

Beitrag von jokel »

vanhofen hat geschrieben: Mi 10. Dez 2025, 22:04 Du bist dir sicher, jokel, dass wir zwingend hatch-fancy-pypi-readme auf dem Host brauchen, um streamlink zu bauen?

https://github.com/hynek/hatch-fancy-pypi-readme#readme

sonst wird attrs nicht gebaut mit hatch .. das wird aber immer mehr kommen und ist ja eine
erweiterung für hatch .. das wird also früher oder später öfters gebraucht werden ..
ist ja in dem link von dir oben gut beschrieben.

oder weisst du was .. was ich nicht weiss .. bzw. was sind deine bedenken ..
Benutzeravatar
vanhofen
Administrator
Beiträge: 3027
Registriert: Di 5. Apr 2016, 00:05
Has thanked: 27 times
Been thanked: 52 times

Re: NI-Buildsystem

Beitrag von vanhofen »

OK, dann gehört die Anhängigkeit aber zu python-attrs.

Ich ändere das.
Benutzeravatar
jokel
Beiträge: 2907
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 48 times
Been thanked: 170 times

Re: NI-Buildsystem

Beitrag von jokel »

@vanhofen .. habe eben gebaut und geflasht .. streamlink funktioniert nicht ..
weil das fehlt ..
File "/usr/lib/python3.11/site-packages/trio/_core/__init__.py", line 9, in <module>
from ._entry_queue import TrioToken
File "/usr/lib/python3.11/site-packages/trio/_core/_entry_queue.py", line 11, in <module>
from .._util import NoPublicConstructor, final
File "/usr/lib/python3.11/site-packages/trio/_util.py", line 19, in <module>
from sniffio import thread_local as sniffio_loop
ModuleNotFoundError: No module named 'sniffio'
[cli][info] streamlink is running as root! Be careful!
error: No plugin can handle URL: https://b65bae68.wurl.com/manifest/f36d ... fbe/2.m3u8
und so sieht es aus wenn python-sniffio on board ist ..

Code: Alles auswählen

[jokel ~]#  ./start-streamlink.sh https://jmp2.uk/stvp-DE3200015MJ
hole Stream-URL via yt-dlp...
Wiedergabe mit Streamlink...
[cli][info] streamlink is running as root! Be careful!
[cli][info] Found matching plugin hls for URL https://b65bae68.wurl.com/manifest/f36d25e7e52f1ba8d7e56eb859c636563214f541/U2Ftc3VuZy1kZV9MYWR5a3JhY2hlcl9ITFM/bb437d42-c1d4-4b1c-b808-2beaca91c5f1/2.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[+] Spoiler

screenshot (1).png
also bitte einbauen .. :wink:
Benutzeravatar
vanhofen
Administrator
Beiträge: 3027
Registriert: Di 5. Apr 2016, 00:05
Has thanked: 27 times
Been thanked: 52 times

Re: NI-Buildsystem

Beitrag von vanhofen »

Code: Alles auswählen

dependencies = [
    # attrs 19.2.0 adds `eq` option to decorators
    # attrs 20.1.0 adds @frozen
    # attrs 21.1.0 adds a dataclass transform for type-checkers
    # attrs 21.3.0 adds `import attrs`
    "attrs >= 23.2.0",
    "sortedcontainers",
    "idna",
    "outcome",
    "sniffio >= 1.3.0",
    # cffi 1.12 adds from_buffer(require_writable=True) and ffi.release()
    # cffi 1.14 fixes memory leak inside ffi.getwinerror()
    # cffi is required on Windows, except on PyPy where it is built-in
    "cffi>=1.14; os_name == 'nt' and implementation_name != 'pypy'",
    "exceptiongroup; python_version < '3.11'",
]
Mist, das hab ich gestern beim copy/pasten irgendwie übersehen.
Benutzeravatar
jokel
Beiträge: 2907
Registriert: Mi 31. Mär 2021, 14:23
Box: ZGEMMA H7/C
Has thanked: 48 times
Been thanked: 170 times

Re: NI-Buildsystem

Beitrag von jokel »

war ja auch schon spät .. :wink:
ich hatte das gesehen und dachte noch .. wie wo was ?
und wer ist schuld .. trio .. :laughing:
sonst läuft es ..
Antworten

Zurück zu „Neutrino allgemein“