Skip to content

Commit

Permalink
Cleanup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Dec 20, 2024
1 parent 4aa21ad commit 481af07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions mac.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ a = Analysis(
binaries=[
*lib_paths,
(phazor_path, "."),
# (f"{prefix}/Cellar/ffmpeg", "."),
(f"{prefix}/bin/ffmpeg", "."),
],
datas=[
Expand Down Expand Up @@ -96,8 +95,6 @@ app = BUNDLE(
"LSEnvironment": {
"LANG": "en_US.UTF-8",
"LC_CTYPE": "en_US.UTF-8",
# Set DYLD_LIBRARY_PATH to ensure the app can locate dynamic libraries
# "DYLD_LIBRARY_PATH": f"{prefix}/lib",
}})

for lib in lib_paths:
Expand Down
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@
# Linux + macOS
ext-modules = [
{name = "phazor", sources = ["src/phazor/kissfft/kiss_fftr.c", "src/phazor/kissfft/kiss_fft.c", "src/phazor/phazor.c"], include-dirs = ["/usr/include/opus", "/opt/homebrew/include/opus", "/opt/homebrew/include"], libraries = ["samplerate", "wavpack", "opusfile", "vorbisfile", "mpg123", "FLAC", "openmpt", "gme"], library-dirs = ["/opt/homebrew/lib"] },
# Set as optional to allow soft-failure, it's expected not to build on Windows/macOS, but we don't want to fail the entire build on it
# I have not found a better way to solve this, ideally we would somehow tag this as Linux-exclusive
{name = "phazor-pw", sources = ["src/phazor/kissfft/kiss_fftr.c", "src/phazor/kissfft/kiss_fft.c", "src/phazor/phazor.c"], include-dirs = ["/usr/include/opus"], libraries = ["samplerate", "wavpack", "opusfile", "vorbisfile", "mpg123", "FLAC", "openmpt", "gme", "pipewire-0.3"], optional = true },
]

Expand All @@ -108,12 +110,6 @@

[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
# # Windows
## dependencies = {file = "requirements_windows.txt"}
# # Linux
# dependencies = {file = "requirements_linux.txt"}
# # macOS
# dependencies = {file = "requirements_macos.txt"}

[tool.setuptools.package-data]
"tauon" = ["assets/*", "assets/svg/*", "locale/*/*/*.mo", "templates/*", "theme/*"]
Expand Down

0 comments on commit 481af07

Please sign in to comment.