pyedfread
pyedfread copied to clipboard
For windows 64bit installation
I've noticed that the setup.py file path install was differently from the default. On both of my installations. edfapi64.lib has consistently been located in C:\Program Files (x86)\SR Research\EyeLink\libs\x64 and not the where the setup was previously pointing. Here are the changes:
srr_basedir = r"C:\Program Files (x86)\SR Research\EyeLink"
if platform.architecture()[0] == "64bit":
arch_dir = 'x64'
lib_names = ['edfapi64']
else:
arch_dir = 'win32'
lib_names = ['edfapi']
args = {'include_dirs': [numpy.get_include(), os.path.join(srr_basedir, 'Example')],
'library_dirs': [os.path.join(srr_basedir, 'libs', arch_dir)],
'libraries': lib_names
}