Skip to content

Commit 3d42b16

Browse files
authored
Merge pull request #172 from enzofrnt/setup-to-pyproject
mooving to pyproject
2 parents d745230 + 69d69a3 commit 3d42b16

File tree

2 files changed

+53
-53
lines changed

2 files changed

+53
-53
lines changed

pyproject.toml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[build-system]
2+
requires = ["setuptools>=61", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "django-eventstream"
7+
version = "5.3.2"
8+
description = "Server-Sent Events for Django"
9+
readme = "README.md"
10+
authors = [
11+
{ name = "Justin Karneges", email = "[email protected]" }
12+
]
13+
license = { text = "MIT" }
14+
requires-python = ">=3.10"
15+
urls = { homepage = "https://github.com/fanout/django-eventstream" }
16+
classifiers = [
17+
"Development Status :: 4 - Beta",
18+
"Topic :: Utilities",
19+
"License :: OSI Approved :: MIT License",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Framework :: Django",
23+
]
24+
25+
dependencies = [
26+
"Django>=5",
27+
"PyJWT>=1.5,<3",
28+
"gripcontrol>=4.0,<5",
29+
"django_grip>=3.0,<4",
30+
"six>=1.10,<2",
31+
]
32+
33+
[project.optional-dependencies]
34+
drf = ["djangorestframework>=3.15.1"]
35+
36+
[tool.setuptools.packages.find]
37+
include = [
38+
"django_eventstream",
39+
"django_eventstream.*"
40+
]
41+
42+
[tool.setuptools.package-data]
43+
"django_eventstream" = [
44+
"static/django_eventstream/*",
45+
"static/django_eventstream/**/*",
46+
"templates/django_eventstream/*"
47+
]
48+
49+
[tool.setuptools]
50+
zip-safe = false
51+
52+
[tool.pytest.ini_options]
53+
testpaths = ["tests"]

setup.py

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

0 commit comments

Comments
 (0)