Attachment 'setup.py'

Download

   1 """
   2 Setup.py script for SimpleCellDemo, see http://www.incm.cnrs-mrs.fr/LaurentPerrinet/SimpleCellDemo
   3 
   4 Usage:
   5     python setup.py py2app --iconfile=icon.icns
   6 
   7 Prerequisites:
   8 	sudo port install -u  py26-py2app 
   9 
  10 
  11     http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
  12 """
  13 
  14 from setuptools import setup
  15 
  16 NAME = 'SimpleReceptiveField' #
  17 APP = [NAME + '.py']
  18 DATA_FILES = []
  19 plist = dict(
  20     CFBundleIconFile            = 'icon.icns',
  21     CFBundleName                = NAME,
  22     CFBundleShortVersionString  = "0.1.0",
  23     CFBundleGetInfoString       = NAME,
  24     CFBundleExecutable          = NAME,
  25 #     CFBundleIdentifier          = 'org.livingcode.examples.%s' % ID,
  26     NSHumanReadableCopyright    = 'Copyright 2010 Laurent Perrinet http://www.incm.cnrs-mrs.fr/LaurentPerrinet/SimpleCellDemo',
  27 )
  28 
  29 INCLUDES = ['pyaudio']
  30 PACKAGES = []
  31 OPTIONS = {
  32             'argv_emulation': False,
  33             'optimize':False,
  34             'site_packages':True,
  35             'frameworks':['/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyAudio-0.2.3-py2.6-macosx-10.6-x86_64.egg/_portaudio.so', '/opt/local/lib/libcxcore.2.1.dylib', '/opt/local/lib/libcv.2.1.dylib', '/opt/local/lib/libcvaux.2.1.dylib', '/opt/local/lib/libhighgui.2.1.dylib', ], #'/usr/lib/libcam_iface_mega.dylib', '/usr/lib/libcam_iface_mega.0.dylib', '/usr/lib/libcam_iface_mega.0.5.9.dylib', '/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/_portaudio.so', 
  36 # #             'packages': PACKAGES,
  37 #             'includes':INCLUDES,
  38             'plist':plist}
  39 
  40 setup(
  41     app=APP,
  42     data_files=DATA_FILES,
  43     options={'py2app': OPTIONS},
  44     setup_requires=['py2app'],
  45 )

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2014-10-25 14:23:08, 0.6 KB) [[attachment:Makefile]]
  • [get | view] (2012-03-17 18:47:06, 28134.7 KB) [[attachment:SimpleReceptiveField.app.zip]]
  • [get | view] (2014-10-25 14:27:28, 7.8 KB) [[attachment:SimpleReceptiveField.py]]
  • [get | view] (2014-10-25 14:27:28, 4.6 KB) [[attachment:SimpleReceptiveField.zip]]
  • [get | view] (2014-10-25 14:27:29, 0.5 KB) [[attachment:pysight.py]]
  • [get | view] (2010-04-19 08:21:19, 321.4 KB) [[attachment:screenshot.png]]
  • [get | view] (2014-10-25 14:27:36, 1.7 KB) [[attachment:setup.py]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.

welcome: please sign in