pyproject.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. [build-system]
  2. requires = ["flit_core>=3.2", "flit_scm", "wheel"]
  3. build-backend = "flit_scm:buildapi"
  4. [project]
  5. name = "django-s3file"
  6. authors = [
  7. { name = "Johannes Maron", email = "johannes@maron.family" }
  8. ]
  9. readme = "README.md"
  10. license = { file = "LICENSE" }
  11. dynamic = ["version", "description"]
  12. classifiers = [
  13. "Development Status :: 6 - Mature",
  14. "Environment :: Web Environment",
  15. "Intended Audience :: Developers",
  16. "License :: OSI Approved :: MIT License",
  17. "Operating System :: OS Independent",
  18. "Programming Language :: Python",
  19. "Programming Language :: JavaScript",
  20. "Topic :: Software Development",
  21. "Programming Language :: Python :: 3",
  22. "Programming Language :: Python :: 3 :: Only",
  23. "Programming Language :: Python :: 3.8",
  24. "Programming Language :: Python :: 3.9",
  25. "Programming Language :: Python :: 3.10",
  26. "Framework :: Django",
  27. "Framework :: Django :: 3.2",
  28. "Framework :: Django :: 4.0",
  29. ]
  30. requires-python = ">=3.8"
  31. dependencies = [
  32. "django>=2.0",
  33. "django-storages",
  34. "boto3",
  35. ]
  36. [project.optional-dependencies]
  37. test = [
  38. "pytest >=2.7.3",
  39. "pytest-cov",
  40. "pytest-django",
  41. "selenium",
  42. ]
  43. [project.urls]
  44. Project-URL = "https://github.com/codingjoe/django-s3file"
  45. [tool.flit.module]
  46. name = "s3file"
  47. [tool.setuptools_scm]
  48. write_to = "s3file/_version.py"
  49. [tool.pytest.ini_options]
  50. minversion = "6.0"
  51. addopts = "--cov=s3file --tb=short -rxs"
  52. testpaths = [
  53. "tests",
  54. ]
  55. DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
  56. [tool.isort]
  57. atomic = true
  58. line_length = 88
  59. known_first_party = "s3file, tests"
  60. include_trailing_comma = true
  61. default_section = "THIRDPARTY"
  62. combine_as_imports = true
  63. [tool.pydocstyle]
  64. add_ignore = "D1"