chiark / gitweb /
@@@ remove debugging print
[mLib-python] / setup.py
CommitLineData
a510e264
MW
1#! /usr/bin/python
2
3import distutils.core as DC
a510e264
MW
4import mdwsetup as MS
5
81f68b64 6MS.pkg_config('mLib', '2.2.2.1')
a510e264 7
81f68b64
MW
8mLib = DC.Extension('mLib._base',
9 ['mLib.c', 'atom.c', 'sys.c', 'ui.c',
10 'pyke/pyke.c', 'pyke/mapping.c'],
a510e264
MW
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
976d8e49 16MS.setup(name = 'mLib-python',
a510e264 17 description = 'Python interface to mLib utilities library',
81f68b64 18 url = 'https://git.distorted.org.uk/~mdw/mLib-python/',
a510e264
MW
19 author = 'Straylight/Edgeware',
20 author_email = 'mdw@distorted.org.uk',
21 license = 'GNU General Public License',
81f68b64
MW
22 packages = ['mLib'],
23 unittest_dir = "t",
24 unittests = ["t-misc", "t-atom", "t-ui"],
25 ext_modules = [mLib])