@@@ remove debugging print
[mLib-python] / setup.py
1 #! /usr/bin/python
2
3 import distutils.core as DC
4 import mdwsetup as MS
5
6 MS.pkg_config('mLib', '2.2.2.1')
7
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))
15
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',
22 packages = ['mLib'],
23 unittest_dir = "t",
24 unittests = ["t-misc", "t-atom", "t-ui"],
25 ext_modules = [mLib])