mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Port Datasette from Sanic to ASGI + Uvicorn (#518)
Datasette now uses ASGI internally, and no longer depends on Sanic. It now uses Uvicorn as the underlying HTTP server. This was thirteen months in the making... for full details see the issue: https://github.com/simonw/datasette/issues/272 And for a full sequence of commits plus commentary, see the pull request: https://github.com/simonw/datasette/pull/518
This commit is contained in:
parent
35429f9089
commit
ba8db9679f
19 changed files with 1510 additions and 947 deletions
6
setup.py
6
setup.py
|
|
@ -37,17 +37,18 @@ setup(
|
|||
author="Simon Willison",
|
||||
license="Apache License, Version 2.0",
|
||||
url="https://github.com/simonw/datasette",
|
||||
packages=find_packages(exclude='tests'),
|
||||
packages=find_packages(exclude="tests"),
|
||||
package_data={"datasette": ["templates/*.html"]},
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
"click>=6.7",
|
||||
"click-default-group==1.2",
|
||||
"Sanic==0.7.0",
|
||||
"Jinja2==2.10.1",
|
||||
"hupper==1.0",
|
||||
"pint==0.8.1",
|
||||
"pluggy>=0.12.0",
|
||||
"uvicorn>=0.8.1",
|
||||
"aiofiles==0.4.0",
|
||||
],
|
||||
entry_points="""
|
||||
[console_scripts]
|
||||
|
|
@ -60,6 +61,7 @@ setup(
|
|||
"pytest-asyncio==0.10.0",
|
||||
"aiohttp==3.5.3",
|
||||
"beautifulsoup4==4.6.1",
|
||||
"asgiref==3.1.2",
|
||||
]
|
||||
+ maybe_black
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue