Created
September 19, 2012 04:28
-
-
Save caljim/3747693 to your computer and use it in GitHub Desktop.
Python ext compile example
This file contains 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
form distutils.core import setup, Extension | |
module1 = Extension('foo', | |
sources = ['foo.c','hash_64a.c']) | |
setup (name = 'foo', | |
version = '0.1.3', | |
description = '', | |
classifiers=[ | |
"Programming Language :: Python",], | |
ext_modules = [module1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment