-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
40 lines (38 loc) · 1.23 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from setuptools import setup, Extension
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name = 'llhttp',
version = '6.0.9.0',
description = ("llhttp in python"),
url = "http://github.com/pallas/pyllhttp",
author = "Derrick Lyndon Pallas",
author_email = "derrick@pallas.us",
license = "MIT",
long_description = long_description,
long_description_content_type = "text/markdown",
keywords = "www http parser",
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: JavaScript",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"License :: OSI Approved :: MIT License",
],
packages = [ "llhttp" ],
headers = [ "lib/llhttp.h" ],
ext_modules = [ Extension('__llhttp',
sources = """
pyllhttp.c
lib/llhttp.c
lib/http.c
lib/api.c
""".split(),
language = "c",
) ],
)
#