v0.97.0: macOS port (Round 129): OS-aware paths, config and cookies; Mac now-playing, packaging (PyInstaller .app, dmg build, signing notes, CI workflow) and docs
macOS / Tests (AppleSilicon) (push) Canceled after 0s
macOS / Tests (Intel) (push) Canceled after 0s
macOS / Build (AppleSilicon) (push) Canceled after 0s
macOS / Build (Intel) (push) Canceled after 0s
macOS / Publish the GitHub Release (push) Canceled after 0s
macOS / Tests (AppleSilicon) (push) Canceled after 0s
macOS / Tests (Intel) (push) Canceled after 0s
macOS / Build (AppleSilicon) (push) Canceled after 0s
macOS / Build (Intel) (push) Canceled after 0s
macOS / Publish the GitHub Release (push) Canceled after 0s
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
@@ -30,10 +31,14 @@ setup(
|
||||
"requests>=2.28",
|
||||
"pychromecast>=14.0.10",
|
||||
"pyatv>=0.18.0", # AirPlay (RAOP) streaming; decodes via the ffmpeg CLI
|
||||
# macOS: Now Playing + media keys (MediaPlayer) and the Cocoa glue
|
||||
# it needs. Imported lazily, only on a Mac.
|
||||
'pyobjc-framework-Cocoa>=10.0; sys_platform == "darwin"',
|
||||
'pyobjc-framework-MediaPlayer>=10.0; sys_platform == "darwin"',
|
||||
],
|
||||
data_files=[
|
||||
("share/applications", ["packaging/lintunes.desktop"]),
|
||||
],
|
||||
# The .desktop entry is a Linux desktop's; a Mac has LinTunes.app.
|
||||
data_files=([("share/applications", ["packaging/lintunes.desktop"])]
|
||||
if sys.platform.startswith("linux") else []),
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"lintunes=lintunes.main:main",
|
||||
|
||||
Reference in New Issue
Block a user