mirror of
https://github.com/jamesroberts/fastwsgi.git
synced 2025-12-30 10:49:46 -06:00
20 lines
398 B
Python
20 lines
398 B
Python
import glob
|
|
from distutils.core import Extension, setup
|
|
|
|
|
|
SOURCE_FILES = glob.glob("fast-wsgi/*.c") + glob.glob("llhttp/src/*.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]
|
|
)
|