First partially working version of ASGI-powered Datasette #272

Lots still to do:

* Static files are not being served
* Streaming CSV files don't work
* Tests all fail
* Some URLs (e.g. the 'next' link on tables) are incorrect

But... the server does start up and you can browse databases/tables
This commit is contained in:
Simon Willison 2019-06-22 18:06:24 -07:00
commit 180d5be811
4 changed files with 123 additions and 155 deletions

View file

@ -37,7 +37,7 @@ 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=[
@ -48,6 +48,7 @@ setup(
"hupper==1.0",
"pint==0.8.1",
"pluggy>=0.12.0",
"uvicorn>=0.8.1",
],
entry_points="""
[console_scripts]