Skip to content

Commit

Permalink
Merge branch 'master' into httpx-based-testclient
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Sep 2, 2022
2 parents 38d8204 + 1fa42a2 commit 3050e9e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
8 changes: 4 additions & 4 deletions requirements.txt
Expand Up @@ -2,10 +2,10 @@
-e .[full]

# Testing
autoflake==1.4
black==22.6.0
autoflake==1.5.3
black==22.8.0
coverage==6.4.2
databases[sqlite]==0.5.5
databases[sqlite]==0.6.1
flake8==3.9.2
isort==5.10.1
mypy==0.971
Expand All @@ -20,7 +20,7 @@ greenlet==2.0.0a2; python_version >= "3.11"

# Documentation
mkdocs==1.3.1
mkdocs-material==8.3.9
mkdocs-material==8.4.2
mkautodoc==0.1.0

# Packaging
Expand Down
29 changes: 29 additions & 0 deletions setup.py
@@ -0,0 +1,29 @@
import sys

from setuptools import setup

sys.stderr.write(
"""
===============================
Unsupported installation method
===============================
Starlette no longer supports installation with `python setup.py install`.
Please use `python -m pip install .` instead.
"""
)
sys.exit(1)


# The below code will never execute, however GitHub is particularly
# picky about where it finds Python packaging metadata.
# See: https://github.com/github/feedback/discussions/6456
#
# To be removed once GitHub catches up.

setup(
name="starlette",
install_requires=[
"anyio>=3.4.0,<5",
"typing_extensions>=3.10.0; python_version < '3.10'",
],
)

0 comments on commit 3050e9e

Please sign in to comment.