pyedfread icon indicating copy to clipboard operation
pyedfread copied to clipboard

For windows 64bit installation

Open robin0025 opened this issue 3 years ago • 0 comments

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
        }

robin0025 avatar Sep 09 '22 05:09 robin0025