Debian Codegraph @

linker_tests/link_pre_489/setup.py

raw symbols SCIP
1 import glob
2 import sys
3 import os
4
5 from setuptools import setup, find_packages, Extension
6 from cy_build import CyExtension as Extension, cy_build_ext as build_ext
7
8 import pysam
9
10 test_module_suffix = os.path.dirname(os.path.abspath(__file__)).split(os.sep)[-1]
11 test_module_name = "PysamTestModule_{}".format(test_module_suffix)
12
13 TestModule = Extension(
14 "{}.BuildRead".format(test_module_name),
15 ["{}/BuildRead.pyx".format(test_module_name)],
16 include_dirs=pysam.get_include(),
17 extra_link_args=pysam.get_libraries(),
18 define_macros=pysam.get_defines(),
19 )
20
21 setup(
22 name=test_module_name,
23 version='0.1',
24 packages=find_packages(),
25 package_dir={test_module_name: test_module_name},
26 ext_modules=[TestModule],
27 cmdclass={'build_ext': build_ext},
28 )