- The shelf is revealed in place: the decks don't stretch or squeeze as the window parts. - The DJ button is the top row's last box (where bpm was), so it stays put; bpm moved under it. - Tempo, vocals and the crossfader snap to their middle and show it. The vocals slider has icons, lined up with its ends and middle. - Sync sticks: a synced deck follows the other's tempo, glows and says Synced until its own tempo fader moves. The ½×/1×/2× switch re-syncs, and the BPM line says when it's counted half or double. - A back-to-the-start button per deck. - The air horn is a real recording (CC0): tap for the phrase, hold to stretch the first blast. - The zoomed waveforms ease out while a deck is paused or held. - DJ audio follows a change of output device instead of going silent. - A new playlist folder is named in place, scrolled into view. - Visualizer bars: choose how many, 1 to 1024 (one per pixel at most). - The volume slider is as tall as the scrubber.
44 lines
1.5 KiB
Python
44 lines
1.5 KiB
Python
import re
|
|
from pathlib import Path
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
# Single source of truth for the version is lintunes/__init__.py; read it
|
|
# textually so setup.py doesn't import the package (and its Qt deps).
|
|
_init = (Path(__file__).parent / "lintunes" / "__init__.py").read_text()
|
|
_version = re.search(r'^__version__ = "([^"]+)"', _init, re.MULTILINE)[1]
|
|
|
|
setup(
|
|
name="lintunes",
|
|
version=_version,
|
|
packages=find_packages(),
|
|
# The web-mix templates (player.js/css, the player sprite GIF and
|
|
# the placeholder image) must ride along in an installed copy.
|
|
# The andTunes APK LinTunes installs, and the default button artwork
|
|
# sync ships to the device.
|
|
package_data={
|
|
"lintunes": ["sounds/*.wav", "sounds/*.mp3", "sounds/*.md"],
|
|
"lintunes.export": ["templates/*"],
|
|
"lintunes.android": ["andTunes.apk", "andTunes.json"],
|
|
"lintunes.andtunes": ["buttons/*.png"],
|
|
"lintunes.kaleidostrobe": ["tables.npz"],
|
|
},
|
|
install_requires=[
|
|
"PyQt6>=6.8.0", # QAudioBufferOutput (visualizer) needs Qt 6.8+
|
|
"mutagen>=1.46",
|
|
"numpy>=1.24",
|
|
"requests>=2.28",
|
|
"pychromecast>=14.0.10",
|
|
"pyatv>=0.18.0", # AirPlay (RAOP) streaming; decodes via the ffmpeg CLI
|
|
],
|
|
data_files=[
|
|
("share/applications", ["packaging/lintunes.desktop"]),
|
|
],
|
|
entry_points={
|
|
"console_scripts": [
|
|
"lintunes=lintunes.main:main",
|
|
],
|
|
},
|
|
python_requires=">=3.11",
|
|
)
|