Skip to content

Commit

Permalink
Add pypitch to setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
stump committed Jul 13, 2010
1 parent 468e37b commit 0a7ec74
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/setup.py
Expand Up @@ -22,7 +22,8 @@
#####################################################################

# FoFiX fully unified setup script
from distutils.core import setup
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
import sys, SceneFactory, Version, glob, os


Expand Down Expand Up @@ -191,6 +192,13 @@ def isSystemDLL(pathname):
# Add the common arguments to setup().
setup_args.update({
'options': options,
'ext_modules': [
Extension('pypitch._pypitch',
language='c++',
sources=['pypitch/_pypitch.pyx', 'pypitch/pitch.cpp',
'pypitch/AnalyzerInput.cpp'])
],
'cmdclass': {'build_ext': build_ext},
})

# And finally...
Expand Down

0 comments on commit 0a7ec74

Please sign in to comment.