forked from sonic-pi-net/sonic-pi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sonic-pi-net#2214 from cmaughan/feature/aubio_build
Fixing Onset by building Aubio
- Loading branch information
Showing
2,302 changed files
with
527,471 additions
and
14 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# appveyor configuration. See http://www.appveyor.com/docs/appveyor-yml | ||
# and http://www.appveyor.com/docs/installed-software#python | ||
|
||
environment: | ||
|
||
matrix: | ||
|
||
# pre-installed python version, see: | ||
# http://www.appveyor.com/docs/installed-software#python | ||
- PYTHONDIR: C:\Python27 | ||
PYTHON_VERSION: 2.7.x | ||
PYTHON_ARCH: 32 | ||
|
||
- PYTHONDIR: C:\Python27-x64 | ||
PYTHON_VERSION: 2.7.x | ||
PYTHON_ARCH: 64 | ||
|
||
- PYTHONDIR: C:\Python35 | ||
PYTHON_VERSION: 3.5.x | ||
PYTHON_ARCH: 32 | ||
|
||
- PYTHONDIR: C:\Python35-x64 | ||
PYTHON_VERSION: 3.5.x | ||
PYTHON_ARCH: 64 | ||
|
||
- PYTHONDIR: C:\Python36 | ||
PYTHON_VERSION: 3.6.x | ||
PYTHON_ARCH: 32 | ||
|
||
- PYTHONDIR: C:\Python36-x64 | ||
PYTHON_VERSION: 3.6.x | ||
PYTHON_ARCH: 64 | ||
|
||
- PYTHONDIR: C:\Python37 | ||
PYTHON_VERSION: 3.7.x | ||
PYTHON_ARCH: 32 | ||
|
||
- PYTHONDIR: C:\Python37-x64 | ||
PYTHON_VERSION: 3.7.x | ||
PYTHON_ARCH: 64 | ||
|
||
install: | ||
- ECHO "Installed SDKs:" | ||
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" | ||
|
||
- "SET PATH=%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%" | ||
|
||
# Check that we have the expected version and architecture for Python | ||
- "python --version" | ||
- "python -c \"import struct; print(struct.calcsize('P') * 8)\"" | ||
|
||
- "python -m pip install --disable-pip-version-check --user --upgrade pip" | ||
- "python -m pip install --upgrade setuptools" | ||
|
||
# We need wheel installed to build wheels | ||
- "python -m pip install wheel" | ||
|
||
- "pip install -r requirements.txt" | ||
|
||
before_build: | ||
- "bash scripts/get_waf.sh" | ||
|
||
build_script: | ||
# also build libaubio with waf | ||
- python waf configure build install --verbose --msvc_version="msvc 14.0" | ||
# clean before building python package | ||
- python waf distclean | ||
# build, upload and install wheel (inspired by numpy's appveyor) | ||
- ps: | | ||
pip wheel -v -v -v --wheel-dir=dist . | ||
ls dist -r | Foreach-Object { | ||
Push-AppveyorArtifact $_.FullName | ||
pip install $_.FullName | ||
} | ||
test_script: | ||
- "python python\\demos\\demo_create_test_sounds.py" | ||
- "pytest --verbose" |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[run] | ||
branch = True | ||
source = aubio |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
*.pyc | ||
*.~[0-9]~ | ||
*.swp | ||
|
||
# gcov generated files | ||
*.gcno | ||
*.gcda | ||
python/lib/aubio/_aubio.*.so | ||
.coverage | ||
|
||
# ignore compiled examples | ||
RE:examples/[a-z]* | ||
|
||
# ignore compiled test programs | ||
RE:tests/src/test-[a-z-_]*$ | ||
RE:tests/cpp/test-[a-z-_]*$ | ||
|
||
# only sgml manpages count | ||
doc/*.1 | ||
|
||
# cachegrind/callgrind stuff | ||
**/cachegrind.out.[0-9]* | ||
**/callgrind.out.[0-9]* | ||
|
||
# waf stuff | ||
.lock-waf* | ||
.waf-* | ||
waf | ||
waflib | ||
build/ | ||
|
||
# doxygen | ||
doc/web/ | ||
doc/full/ | ||
doc/_build/ | ||
|
||
python/gen | ||
python/dist | ||
python/MANIFEST | ||
python/*.db | ||
python/*.wav | ||
|
||
pip-delete-this-directory.txt | ||
|
||
aubio-*.tar.bz2 | ||
aubio-*.zip | ||
dist/*.tar.gz | ||
dist/*.whl | ||
|
||
# test sounds | ||
python/tests/sounds | ||
aubio.egg-info | ||
.eggs | ||
.cache |
Oops, something went wrong.