Skip to content

Instantly share code, notes, and snippets.

@taldcroft
Created May 20, 2012 17:24
Show Gist options
  • Save taldcroft/2758842 to your computer and use it in GitHub Desktop.
Save taldcroft/2758842 to your computer and use it in GitHub Desktop.
ctypes_setup
core_ext = Extension('xija.core', ['xija/core.c'])
setup(name='xija',
version=version,
description='Thermal modeling framework for Chandra',
author='Tom Aldcroft',
author_email='[email protected]',
url='https://github.com/sot/xija',
license='BSD',
platforms=['any'],
ext_modules=[core_ext],
packages=['xija', 'xija.component'],
package_data={'xija': ['libcore.so']},
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment