File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1- include README.md
2- include LICENSE.md
31recursive-include tests/ *
4- recursive-include rest_framework/static *.js *.css *.map *.png *.ico *.eot *.svg *.ttf *.woff *.woff2
5- recursive-include rest_framework/templates *.html schema.js
6- recursive-include rest_framework/locale *.mo
72global-exclude __pycache__
83global-exclude *.py[co]
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ name = "djangorestframework"
77description = " Web APIs for Django, made easy."
88readme = " README.md"
99license = " BSD-3-Clause"
10+ license-files = [ " LICEN[CS]E*" ]
1011authors = [ {
name =
" Tom Christie" ,
email =
" [email protected] " } ]
1112requires-python = " >=3.10"
1213classifiers = [
@@ -44,6 +45,13 @@ version = { attr = "rest_framework.__version__" }
4445[tool .setuptools .packages .find ]
4546include = [ " rest_framework*" ]
4647
48+ [tool .setuptools .package-data ]
49+ "rest_framework" = [
50+ " templates/**/*" ,
51+ " static/**/*" ,
52+ " locale/**/*" ,
53+ ]
54+
4755[tool .isort ]
4856skip = [ " .tox" ]
4957atomic = true
You can’t perform that action at this time.
0 commit comments