mirror of
https://github.com/jamesroberts/fastwsgi.git
synced 2026-01-03 12:49:47 -06:00
24 lines
550 B
Python
24 lines
550 B
Python
from distutils.core import Extension, setup
|
|
|
|
|
|
SOURCE_FILES = ['fast-wsgi/fast-wsgimodule.c',
|
|
'fast-wsgi/server.c',
|
|
'fast-wsgi/request.c',
|
|
'llhttp/src/api.c',
|
|
'llhttp/src/http.c',
|
|
'llhttp/src/llhttp.c']
|
|
|
|
module = Extension(
|
|
"fast_wsgi",
|
|
sources=SOURCE_FILES,
|
|
libraries=['uv'],
|
|
include_dirs=["llhttp/include", "/usr/include"],
|
|
)
|
|
|
|
setup(
|
|
name="fast_wsgi",
|
|
version="1.0",
|
|
description="This is a package for fast_wsgi",
|
|
ext_modules=[module]
|
|
)
|