-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build system preparation for release 0.11.0
_soundfile_data now contains up-to-date binaries for Windows 32/64 and macOS intel/arm. build scripts have been amended to use the new binaries changelog is not yet updated windows binaries use different C runtime than python, do not support file descriptors
- Loading branch information
Showing
4 changed files
with
34 additions
and
36 deletions.
There are no files selected for viewing
Submodule _soundfile_data
updated
10 files
+24 −0 | .github/workflows/build-libs.yml | |
+11 −70 | README.md | |
+ − | libsndfile.dylib | |
+ − | libsndfile32bit.dll | |
+ − | libsndfile64bit.dll | |
+ − | libsndfile_32bit.dll | |
+ − | libsndfile_64bit.dll | |
+ − | libsndfile_arm64.dylib | |
+ − | libsndfile_x86_64.dylib | |
+72 −0 | mac_build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,27 +5,14 @@ | |
from setuptools.command.test import test as TestCommand | ||
import sys | ||
|
||
PYTHON_INTERPRETERS = '.'.join([ | ||
'cp26', 'cp27', | ||
'cp32', 'cp33', 'cp34', 'cp35', 'cp36', | ||
'pp27', | ||
'pp32', 'pp33', | ||
]) | ||
MACOSX_VERSIONS = '.'.join([ | ||
'macosx_10_5_x86_64', | ||
'macosx_10_6_intel', | ||
'macosx_10_9_intel', | ||
'macosx_10_9_x86_64', | ||
]) | ||
|
||
# environment variables for cross-platform package creation | ||
platform = os.environ.get('PYSOUNDFILE_PLATFORM', sys.platform) | ||
architecture0 = os.environ.get('PYSOUNDFILE_ARCHITECTURE', architecture()[0]) | ||
|
||
if platform == 'darwin': | ||
libname = 'libsndfile.dylib' | ||
libname = 'libsndfile_' + architecture0 + '.dylib' | ||
elif platform == 'win32': | ||
libname = 'libsndfile' + architecture0 + '.dll' | ||
libname = 'libsndfile_' + architecture0 + '.dll' | ||
else: | ||
libname = None | ||
|
||
|
@@ -70,9 +57,12 @@ class bdist_wheel_half_pure(bdist_wheel): | |
"""Create OS-dependent, but Python-independent wheels.""" | ||
|
||
def get_tag(self): | ||
pythons = 'py2.py3.' + PYTHON_INTERPRETERS | ||
pythons = 'py2.py3' | ||
if platform == 'darwin': | ||
oses = MACOSX_VERSIONS | ||
if architecture0 == 'x86_64': | ||
oses = 'macosx-10.x-x86_64' | ||
else: | ||
oses = 'macosx-10.x-arm64' | ||
elif platform == 'win32': | ||
if architecture0 == '32bit': | ||
oses = 'win32' | ||
|
@@ -87,7 +77,7 @@ def get_tag(self): | |
|
||
setup( | ||
name='soundfile', | ||
version='0.10.3post1', | ||
version='0.11.0b1', | ||
description='An audio library based on libsndfile, CFFI and NumPy', | ||
author='Bastian Bechtold', | ||
author_email='[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters