/external/cAction/setup.py

http://echo-nest-remix.googlecode.com/ · Python · 22 lines · 18 code · 3 blank · 1 comment · 0 complexity · bbf8f3fd33cc7bfa9e0801e1b181b338 MD5 · raw file

  1. # created 5/11/2010 by Jason
  2. from distutils.core import setup, Extension
  3. import os, sys
  4. import numpy
  5. cAction = Extension("cAction",
  6. sources = ['actionmodule.cpp'],
  7. extra_compile_args = [],
  8. include_dirs = [numpy.get_include(), numpy.get_numarray_include()],
  9. depends=[__file__] # force rebuild whenever this script is changed.
  10. )
  11. setup( name="cAction",
  12. version = '0.1',
  13. description = 'c implementation of algorithms from action.py',
  14. author = 'Jason Sundram',
  15. author_email = 'jason@echonest.com',
  16. url = 'http://code.echonest.com/p/echo-nest-remix',
  17. ext_modules=[cAction],
  18. requires=['numpy']
  19. )