3 import distutils
.core
as DC
6 MS
.pkg_config('mLib', '2.2.2.1')
8 mLib
= DC
.Extension('mLib._base',
9 ['mLib.c', 'atom.c', 'sys.c', 'ui.c',
10 'pyke/pyke.c', 'pyke/mapping.c'],
11 ##extra_compile_args = ['-O0'],
12 include_dirs
= MS
.uniquify(MS
.INCLUDEDIRS
),
13 library_dirs
= MS
.uniquify(MS
.LIBDIRS
),
14 libraries
= MS
.uniquify(MS
.LIBS
))
16 MS
.setup(name
= 'mLib-python',
17 description
= 'Python interface to mLib utilities library',
18 url
= 'https://git.distorted.org.uk/~mdw/mLib-python/',
19 author
= 'Straylight/Edgeware',
20 author_email
= 'mdw@distorted.org.uk',
21 license
= 'GNU General Public License',
24 unittests
= ["t-misc", "t-atom", "t-ui"],