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