forked from aiortc/aioquic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (43 loc) · 1.53 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
41
42
43
44
45
46
import os.path
import setuptools
root_dir = os.path.abspath(os.path.dirname(__file__))
readme_file = os.path.join(root_dir, "README.rst")
with open(readme_file, encoding="utf-8") as f:
long_description = f.read()
setuptools.setup(
name="aioquic",
version="0.8.2",
description="An implementation of QUIC and HTTP/3",
long_description=long_description,
url="https://github.com/aiortc/aioquic",
author="Jeremy Lainé",
author_email="[email protected]",
license="BSD",
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP",
],
ext_modules=[
setuptools.Extension("aioquic._buffer", sources=["src/_buffer.c"]),
setuptools.Extension(
"aioquic._crypto", libraries=["crypto"], sources=["src/_crypto.c"]
),
],
package_data={"aioquic": ["py.typed"]},
packages=["aioquic", "aioquic.asyncio", "aioquic.h0", "aioquic.h3", "aioquic.quic"],
install_requires=[
"cryptography >= 2.5",
'dataclasses; python_version < "3.7"',
"pylsqpack >= 0.3.3, < 0.4.0",
],
)