Created
June 8, 2014 22:16
-
-
Save dbuscombe-usgs/53c06a80d590ee7150cc to your computer and use it in GitHub Desktop.
distutils setup for for compiling RunningStats C++ module (http://www.johndcook.com/standard_deviation.html) using SWIG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
setup.py file for RunningStats | |
""" | |
from distutils.core import setup, Extension | |
RunningStats_module = Extension('_RunningStats', | |
sources=['RunningStats_wrap.cxx', 'RunningStats.cpp'], | |
) | |
setup (name = 'RunningStats', | |
version = '0.1', | |
author = "John D. Cook / Daniel Buscombe", | |
description = """Compute running stats on an array""", | |
ext_modules = [RunningStats_module], | |
py_modules = ["RunningStats"], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment