| 1 | [build-system] |
| 2 | requires = ["setuptools"] |
| 3 | build-backend = "setuptools.build_meta" |
| 4 | |
| 5 | [project] |
| 6 | name = "django-colorfield" |
| 7 | description = "color field for django models with a nice color-picker in the admin." |
| 8 | authors = [ |
| 9 | { name = "Jared Forsyth", email = "[email protected]" }, |
| 10 | { name = "Fabio Caccamo", email = "[email protected]" }, |
| 11 | ] |
| 12 | keywords = [ |
| 13 | "django", |
| 14 | "colorfield", |
| 15 | "colorpicker", |
| 16 | "color", |
| 17 | "field", |
| 18 | "picker", |
| 19 | "chooser", |
| 20 | "admin", |
| 21 | "python", |
| 22 | ] |
| 23 | classifiers = [ |
| 24 | "Development Status :: 5 - Production/Stable", |
| 25 | "Environment :: Web Environment", |
| 26 | "Framework :: Django", |
| 27 | "Framework :: Django :: 3.0", |
| 28 | "Framework :: Django :: 3.1", |
| 29 | "Framework :: Django :: 3.2", |
| 30 | "Framework :: Django :: 4.0", |
| 31 | "Framework :: Django :: 4.1", |
| 32 | "Framework :: Django :: 4.2", |
| 33 | "Framework :: Django :: 5.0", |
| 34 | "Intended Audience :: Developers", |
| 35 | "License :: OSI Approved :: MIT License", |
| 36 | "Natural Language :: English", |
| 37 | "Operating System :: OS Independent", |
| 38 | "Programming Language :: Python :: 3", |
| 39 | "Programming Language :: Python :: 3.8", |
| 40 | "Programming Language :: Python :: 3.9", |
| 41 | "Programming Language :: Python :: 3.10", |
| 42 | "Programming Language :: Python :: 3.11", |
| 43 | "Programming Language :: Python :: 3.12", |
| 44 | "Topic :: Software Development :: Build Tools", |
| 45 | ] |
| 46 | dependencies = [ |
| 47 | "Pillow (>= 9.0.0)", |
| 48 | ] |
| 49 | dynamic = ["version"] |
| 50 | maintainers = [ |
| 51 | { name = "Fabio Caccamo", email = "[email protected]" }, |
| 52 | ] |
| 53 | |
| 54 | [project.readme] |
| 55 | file = "README.md" |
| 56 | content-type = "text/markdown" |
| 57 | |
| 58 | [project.license] |
| 59 | file = "LICENSE.txt" |
| 60 | content-type = "text/plain" |
| 61 | |
| 62 | [project.urls] |
| 63 | Homepage = "https://github.com/fabiocaccamo/django-colorfield" |
| 64 | Download = "https://github.com/fabiocaccamo/django-colorfield/releases" |
| 65 | Documentation = "https://github.com/fabiocaccamo/django-colorfield#readme" |
| 66 | Issues = "https://github.com/fabiocaccamo/django-colorfield/issues" |
| 67 | Funding = "https://github.com/sponsors/fabiocaccamo/" |
| 68 | Twitter = "https://twitter.com/fabiocaccamo" |
| 69 | |
| 70 | [tool.black] |
| 71 | line-length = 88 |
| 72 | include = '\.pyi?$' |
| 73 | exclude = ''' |
| 74 | /( |
| 75 | \.git |
| 76 | | \.hg |
| 77 | | \.mypy_cache |
| 78 | | \.tox |
| 79 | | \.venv |
| 80 | | _build |
| 81 | | buck-out |
| 82 | | build |
| 83 | | dist |
| 84 | | venv |
| 85 | )/ |
| 86 | ''' |
| 87 | |
| 88 | [tool.isort] |
| 89 | profile = "black" |
| 90 | |
| 91 | [tool.ruff] |
| 92 | ignore = [] |
| 93 | line-length = 88 |
| 94 | select = ["B", "B9", "C", "E", "F", "W"] |
| 95 | |
| 96 | [tool.ruff.mccabe] |
| 97 | max-complexity = 10 |
| 98 | |
| 99 | [tool.setuptools.packages.find] |
| 100 | include = ["colorfield*"] |
| 101 | |
| 102 | [tool.setuptools.dynamic.version] |
| 103 | attr = "colorfield.metadata.__version__" |