1 import distutils.core 2 3 4 module = distutils.core.Extension("namedsem", sources=["namedsem.c"]) 5 6 distutils.core.setup(name="namedsem", version="1.0", 7 description="Named semaphore functions", 8 ext_modules=[module]) 9