Skip to content

Commit

Permalink
Update package metadata (#1819)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Aug 24, 2022
1 parent bd219ed commit 31164e3
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 72 deletions.
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

52 changes: 52 additions & 0 deletions pyproject.toml
@@ -0,0 +1,52 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "starlette"
dynamic = ["version"]
description = "The little ASGI library that shines."
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.7"
authors = [
{ name = "Tom Christie", email = "tom@tomchristie.com" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: AnyIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [
"anyio>=3.4.0,<5",
"typing_extensions>=3.10.0; python_version < '3.10'",
]

[project.optional-dependencies]
full = [
"itsdangerous",
"jinja2",
"python-multipart",
"pyyaml",
"requests",
]

[project.urls]
Homepage = "https://github.com/encode/starlette"

[tool.hatch.version]
path = "starlette/__init__.py"

[tool.hatch.build.targets.sdist]
include = [
"/starlette",
]
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -25,5 +25,5 @@ mkdocs-material==8.3.9
mkautodoc==0.1.0

# Packaging
build==0.8.0
twine==4.0.1
wheel==0.37.1
2 changes: 1 addition & 1 deletion scripts/build
Expand Up @@ -8,6 +8,6 @@ fi

set -x

${PREFIX}python setup.py sdist bdist_wheel
${PREFIX}python -m build
${PREFIX}twine check dist/*
${PREFIX}mkdocs build
67 changes: 0 additions & 67 deletions setup.py

This file was deleted.

0 comments on commit 31164e3

Please sign in to comment.