Skip to content

Commit 161d91a

Browse files
committed
replace setup.py
1 parent 774b140 commit 161d91a

File tree

5 files changed

+66
-81
lines changed

5 files changed

+66
-81
lines changed

setup.cfg renamed to .bumpversion.cfg

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ commit = True
44
tag = False
55

66
[bumpversion:file:mozilla_django_oidc/__init__.py]
7-
8-
[wheel]
9-
universal = 1
10-
11-
[flake8]
12-
max-line-length = 99
13-
exclude = docs,build

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 99
3+
exclude = docs,build

MANIFEST.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ include CONTRIBUTING.rst
33
include HISTORY.rst
44
include LICENSE
55
include README.rst
6-
recursive-include mozilla_django_oidc *.html *.png *.gif *js *.css *jpg *jpeg *svg *py
6+
7+
include .flake8
8+
include .bumpversion.cfg
9+
recursive-include docs *
10+
recursive-include integration_tests *

pyproject.toml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=61.0",
4+
"wheel"
5+
]
6+
build-backend = "setuptools.build_meta"
7+
8+
[project]
9+
name = "mozilla-django-oidc"
10+
dynamic = ["version", "readme"]
11+
description = "A lightweight authentication and access management library for integration with OpenID Connect enabled authentication services."
12+
authors = [
13+
{ name = "Tasos Katsoulas", email = "akatsoulas@mozilla.com" },
14+
{ name = "John Giannelos", email = "jgiannelos@mozilla.com" }
15+
]
16+
license = "MPL-2.0"
17+
keywords = ["mozilla-django-oidc"]
18+
classifiers = [
19+
"Development Status :: 5 - Production/Stable",
20+
"Framework :: Django",
21+
"Framework :: Django :: 3.2",
22+
"Framework :: Django :: 4.2",
23+
"Intended Audience :: Developers",
24+
"Operating System :: MacOS",
25+
"Operating System :: POSIX :: Linux",
26+
"Natural Language :: English",
27+
"Programming Language :: Python :: 3",
28+
"Programming Language :: Python :: 3 :: Only",
29+
"Programming Language :: Python :: 3.8",
30+
"Programming Language :: Python :: 3.9",
31+
"Programming Language :: Python :: 3.10",
32+
"Programming Language :: Python :: 3.11",
33+
"Programming Language :: Python :: 3.12",
34+
]
35+
36+
dependencies = [
37+
"Django >= 3.2",
38+
"pyjwt",
39+
"requests",
40+
"cryptography",
41+
]
42+
43+
[project.urls]
44+
Homepage = "https://github.com/mozilla/mozilla-django-oidc"
45+
Documentation = "https://mozilla-django-oidc.readthedocs.io"
46+
Changelog = "https://github.com/mozilla/mozilla-django-oidc/releases"
47+
48+
[tool.setuptools]
49+
include-package-data = true
50+
zip-safe = false
51+
52+
[tool.setuptools.dynamic]
53+
version = { attr = "mozilla_django_oidc.__version__" }
54+
readme = { file = ["README.rst"], "content-type" = "text/x-rst" }
55+
56+
[tool.setuptools.packages.find]
57+
include = ["mozilla_django_oidc", "mozilla_django_oidc.*"]
58+
exclude = ["build*", "dist*", "*.egg-info*"]

setup.py

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

0 commit comments

Comments
 (0)