Skip to content

Commit

Permalink
Dependencies: Migrate from WhiteNoise to ServeStatic
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 28, 2024
1 parent 98ca450 commit dc4a645
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Powered by `Starlette`_. That ``async`` declaration is optional.

The little program demonstrates an `ASGI`_ application using `Responder`_,
including production-ready components like the `uvicorn`_ webserver, based
on `uvloop`_, the static files server `WhiteNoise`_, and the `Jinja`_
on `uvloop`_, the static files server `ServeStatic`_, and the `Jinja`_
templating library pre-installed.

Features
Expand Down Expand Up @@ -158,10 +158,10 @@ Indices and tables
.. _Django REST Framework: https://www.django-rest-framework.org/
.. _f-string syntax: https://docs.python.org/3/whatsnew/3.6.html#pep-498-formatted-string-literals
.. _Jinja: https://jinja.palletsprojects.com/en/stable/
.. _ServeStatic: https://archmonger.github.io/ServeStatic/latest/
.. _Slowloris: https://en.wikipedia.org/wiki/Slowloris_(computer_security)
.. _Starlette: https://www.starlette.io/
.. _Responder: https://responder.kennethreitz.org/
.. _Two Scoops of Django: https://www.feldroy.com/two-scoops-press#two-scoops-of-django
.. _uvicorn: https://www.uvicorn.org/
.. _uvloop: https://uvloop.readthedocs.io/
.. _WhiteNoise: https://whitenoise.readthedocs.io/en/latest/
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
"requests",
"requests-toolbelt",
"rfc3986",
"servestatic; python_version>='3.8'",
"starlette[full]",
"uvicorn[standard]",
"whitenoise",
"whitenoise; python_version<'3.8'",
]


Expand Down

0 comments on commit dc4a645

Please sign in to comment.