Codebase list python-passfd / 2e263c21-6e60-42ea-9c2f-4c22dbd0adef/main setup.py
2e263c21-6e60-42ea-9c2f-4c22dbd0adef/main

Tree @2e263c21-6e60-42ea-9c2f-4c22dbd0adef/main (Download .tar.gz)

setup.py @2e263c21-6e60-42ea-9c2f-4c22dbd0adef/mainraw · history · blame

#!/usr/bin/env python
# vim: set fileencoding=utf-8
# vim: ts=4:sw=4:et:ai:sts=4
from distutils.core import setup, Extension
import sys
sys.path.append("src")
import passfd

module1 = Extension('_passfd', sources = ['src/passfd.c'])

setup(
        name        = 'python-passfd',
        version     = '0.2',
        description = 'Python functions to pass file descriptors across ' +
        'UNIX domain sockets',
        long_description = passfd.__doc__,
        author      = 'Martin Ferrari',
        author_email = 'martin.ferrari@gmail.com',
        url         = 'http://code.google.com/p/python-passfd/',
        license     = 'GPLv2',
        platforms   = 'Linux',
        package_dir = {'': 'src'},
        ext_modules = [module1],
        py_modules  = ['passfd'])