Changeset a250b35 for tests/python
- Timestamp:
- Sep 26, 2009, 1:04:44 AM (15 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- fcacd88
- Parents:
- 7cec717
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/python/localaubio.py
r7cec717 ra250b35 9 9 import os 10 10 import sys 11 cur_dir = os.path.dirname( sys.argv[0])11 cur_dir = os.path.dirname(__file__) 12 12 sys.path.append(os.path.join(cur_dir,'..','..','python')) 13 # waf places 13 14 sys.path.append(os.path.join(cur_dir,'..','..','python','aubio','.libs')) 14 from aubio.aubiowrapper import * 15 sys.path.append(os.path.join(cur_dir,'..','..','build', 'default', 'swig')) 16 # autotools places 17 sys.path.append(os.path.join(cur_dir,'..','..','build', 'default', 'python','aubio')) 18 try: 19 from aubiowrapper import * 20 except ImportError: 21 from aubio.aubiowrapper import * 15 22 except ImportError: 16 23 raise
Note: See TracChangeset
for help on using the changeset viewer.