Skip to content

Commit 6455457

Browse files
committed
build: migrate from setuptools to hatchling
Refs: KEH-282
1 parent 8ee5128 commit 6455457

3 files changed

Lines changed: 54 additions & 60 deletions

File tree

MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

pyproject.toml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "django_ilmoitin"
7+
version = "0.7.1"
8+
description = "Django app for sending notifications."
9+
readme = "README.md"
10+
license = {file = "LICENSE"}
11+
authors = [
12+
{name = "City of Helsinki", email = "dev@hel.fi"},
13+
]
14+
requires-python = ">=3.10"
15+
classifiers = [
16+
"Environment :: Web Environment",
17+
"Framework :: Django",
18+
"Framework :: Django :: 4.2",
19+
"Framework :: Django :: 5.1",
20+
"Framework :: Django :: 5.2",
21+
"Intended Audience :: Developers",
22+
"License :: OSI Approved :: MIT License",
23+
"Operating System :: OS Independent",
24+
"Programming Language :: Python",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
29+
"Programming Language :: Python :: 3.14",
30+
"Topic :: Internet :: WWW/HTTP",
31+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
32+
]
33+
dependencies = [
34+
"Django>=4.2",
35+
"django-parler>=2.0",
36+
"django-anymail",
37+
"django-mailer",
38+
"jinja2",
39+
]
40+
41+
[project.optional-dependencies]
42+
graphql_api = [
43+
"graphene>=2.0",
44+
"graphene-django",
45+
"graphql-core<3,>=2.1",
46+
"graphql-relay<3,>=2",
47+
]
48+
49+
[project.urls]
50+
Homepage = "https://github.com/City-of-Helsinki/django-ilmoitin"
51+
52+
[tool.hatch.build.targets.wheel]
53+
packages = ["django_ilmoitin"]
54+
155
[tool.coverage.run]
256
source = ["django_ilmoitin"]
357
omit = ["**/migrations/*", "**/tests/*"]

setup.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)