File: _compile_test.pyxbld

package info (click to toggle)
python-pysam 0.15.4+ds-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 27,992 kB
  • sloc: ansic: 140,738; python: 7,881; sh: 265; makefile: 223; perl: 41
file content (8 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
# link against pysam
def make_ext(modname, pyxfilename):
    from distutils.extension import Extension
    import pysam
    return Extension(name = modname,
                     sources = [pyxfilename],
                     include_dirs = pysam.get_include(),
                     define_macros = pysam.get_defines())