summaryrefslogtreecommitdiff
path: root/setup.py
blob: a19e322447ebb217b1752984710abf6b7ed65aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
     )