Skip to content

Commit

Permalink
Merge pull request #57 from nwhitehead/dev-windows
Browse files Browse the repository at this point in the history
Fix windows search location for Chocolately installs.
  • Loading branch information
nwhitehead authored Apr 22, 2024
2 parents ce7a228 + 82e37f3 commit 818912d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
max-parallel: 4
matrix: # macos-13 in Intel, macos-14 is Apple Silicon ARM
os: [macos-13, macos-14, ubuntu-latest] # , windows-latest] # TODO: Fix Windows and readd it
os: [macos-13, macos-14, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 8 additions & 3 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Apr 21, 2024 - 1.3.4

* Update print, use tobytes instead of tostring -- Christian Clauss <[email protected]>
* Support finding MacOS ARM64 fluidsynth library -- Christian Clauss <[email protected]>
* GitHub actions support -- Christian Clauss <[email protected]>
* Fix Windows search location for Chocolatey installs -- Nathan Whitehead <[email protected]>

================================================================================
Feb 18, 2024 - 1.3.3

Expand All @@ -6,7 +13,6 @@
* Fix "Unknown integer parameter 'synth.sample-rate" (#37) -- Philipp Schmidt <[email protected]>



================================================================================
Feb 10, 2023 - 1.3.2

Expand All @@ -33,8 +39,7 @@
* Added sequencer support -- Christian Romberg <[email protected]>



================================================================================
================================================================================
February 13, 2015

* Mover repository to git in GitHub
Expand Down
5 changes: 4 additions & 1 deletion fluidsynth.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python bindings for FluidSynth
Copyright 2008, Nathan Whitehead <[email protected]>
Copyright 2008, Nathan Whitehead <[email protected]> and others.
Released under the LGPL
Expand Down Expand Up @@ -33,6 +33,9 @@
# https://docs.python.org/3/library/os.html#os.add_dll_directory
if hasattr(os, 'add_dll_directory'):
os.add_dll_directory(os.getcwd())
os.add_dll_directory('C:\\tools\\fluidsynth\\bin')
# Workaround bug in find_library, it doesn't recognize add_dll_directory
os.environ['PATH'] += ';C:\\tools\\fluidsynth\\bin'

lib = find_library('fluidsynth') or \
find_library('libfluidsynth') or \
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

setup (name = 'pyFluidSynth',
version = '1.3.3',
version = '1.3.4',
author = 'Nathan Whitehead',
author_email = '[email protected]',
url = 'https://github.com/nwhitehead/pyfluidsynth',
Expand Down

0 comments on commit 818912d

Please sign in to comment.