https://github.com/samtuhka/pupil
Tip revision: e3f4f4c21ae20bebd13795f85fe02ba9ddee31ef authored by Moritz Kassner on 10 July 2014, 14:06:50 UTC
added metrics display.
added metrics display.
Tip revision: e3f4f4c
setup.py
'''
(*)~----------------------------------------------------------------------------------
Pupil - eye tracking platform
Copyright (C) 2012-2014 Pupil Labs
Distributed under the terms of the CC BY-NC-SA License.
License details are in the file license.txt, distributed as part of this software.
----------------------------------------------------------------------------------~(*)
'''
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
import sys,os
# making shared modules accesible
pupil_base_dir = os.path.abspath(__file__).rsplit(os.path.sep, 2)[0]
shared_modules = os.path.join(pupil_base_dir, 'pupil_src', 'shared_modules')
sys.path.append(shared_modules)
APP = ['../pupil_src/capture/main.py']
DATA_FILES = []
OPTIONS = {'argv_emulation': True,
#we need to pull our precompiled c binaries into the resources folder
'resources':[os.path.join(shared_modules,'c_methods','methods.so'),
os.path.join(shared_modules,'uvc_capture','mac_video','uvcc.so'),
#here we pull some homebrew genereated dylibs into the resources folder
'/usr/local/Cellar/glfw3/3.0.2/lib/libglfw3.dylib',
'/usr/local/Cellar/anttweakbar/1.16/lib/libAntTweakBar.dylib' ],
'iconfile':'macos_icon.icns'
}
setup(
name='Pupil',
author='Pupil Labs: Moritz Kassner, William Patera',
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)