import os
from distutils.core import setup, Extension

extensions = []
if os.name == 'nt':
    ext = Extension('_overlapped', ['overlapped.c'], libraries=['ws2_32'])
    extensions.append(ext)

setup(name='tulip',
      description="reference implementation of PEP 3156",
      url='http://www.python.org/dev/peps/pep-3156/',
      packages=['tulip'],
      ext_modules=extensions
     )

import os
from distutils.core import setup, Extension

extensions = []
if os.name == 'nt':
    ext = Extension('_overlapped', ['overlapped.c'], libraries=['ws2_32'])
    extensions.append(ext)

setup(name='tulip',
      description="reference implementation of PEP 3156",
      url='http://www.python.org/dev/peps/pep-3156/',
      packages=['tulip', 'tulip.http'],
      ext_modules=extensions
     )

add tulip.http to packages list