mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-12-03 16:24:01 +03:00
Use pyproject.toml for package data, clean MANIFEST.in
This commit is contained in:
parent
1c4af77c3b
commit
02b2841dff
|
|
@ -1,8 +1,3 @@
|
|||
include README.md
|
||||
include LICENSE.md
|
||||
recursive-include tests/ *
|
||||
recursive-include rest_framework/static *.js *.css *.map *.png *.ico *.eot *.svg *.ttf *.woff *.woff2
|
||||
recursive-include rest_framework/templates *.html schema.js
|
||||
recursive-include rest_framework/locale *.mo
|
||||
global-exclude __pycache__
|
||||
global-exclude *.py[co]
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ name = "djangorestframework"
|
|||
description = "Web APIs for Django, made easy."
|
||||
readme = "README.md"
|
||||
license = "BSD-3-Clause"
|
||||
license-files = [ "LICENSE.md" ]
|
||||
authors = [ { name = "Tom Christie", email = "tom@tomchristie.com" } ]
|
||||
requires-python = ">=3.10"
|
||||
classifiers = [
|
||||
|
|
@ -44,6 +45,13 @@ version = { attr = "rest_framework.__version__" }
|
|||
[tool.setuptools.packages.find]
|
||||
include = [ "rest_framework*" ]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
"rest_framework" = [
|
||||
"templates/**/*",
|
||||
"static/**/*",
|
||||
"locale/**/*.mo",
|
||||
]
|
||||
|
||||
[tool.isort]
|
||||
skip = [ ".tox" ]
|
||||
atomic = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user