File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-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,23 @@ version = { attr = "rest_framework.__version__" }
4445[tool .setuptools .packages .find ]
4546include = [ " rest_framework*" ]
4647
48+ [tool .setuptools .package-data ]
49+ "rest_framework" = [
50+ " static/**/*.js" ,
51+ " static/**/*.css" ,
52+ " static/**/*.map" ,
53+ " static/**/*.png" ,
54+ " static/**/*.ico" ,
55+ " static/**/*.eot" ,
56+ " static/**/*.svg" ,
57+ " static/**/*.ttf" ,
58+ " static/**/*.woff" ,
59+ " static/**/*.woff2" ,
60+ " templates/**/*.html" ,
61+ " templates/schema.js" ,
62+ " locale/**/*.mo" ,
63+ ]
64+
4765[tool .isort ]
4866skip = [ " .tox" ]
4967atomic = true
You can’t perform that action at this time.
0 commit comments