| 1 | #!/usr/bin/env python2
|
| 2 | from distutils.core import setup, Extension
|
| 3 |
|
| 4 | # It's named posix_ rather than posix to differentiate it from the stdlib
|
| 5 | # module it's based on.
|
| 6 |
|
| 7 | module = Extension('posix_',
|
| 8 | sources = ['pyext/posixmodule.c'],
|
| 9 | # we deleted some entries from the method table; I don't
|
| 10 | # want to see warnings about it
|
| 11 | extra_compile_args = ['-Wno-unused-function'],
|
| 12 | )
|
| 13 |
|
| 14 | setup(name = 'posix_',
|
| 15 | version = '1.0',
|
| 16 | description = 'Our fork of the stdlib module',
|
| 17 | # For posix_methods.def
|
| 18 | include_dirs = ['build/oil-defs'],
|
| 19 | ext_modules = [module])
|