Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
[project]
name = "social-auth-core"
version = "4.5.4"
description = "Python social authentication made simple."
authors = [
{name = "Matias Aguirre", email = "[email protected]"},
]
dependencies = [
"PyJWT>=2.7.0",
"cryptography>=1.4",
"defusedxml>=0.5.0",
"oauthlib>=1.0.3",
"python3-openid>=3.0.10",
"requests-oauthlib>=0.6.1",
"requests>=2.9.1",
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "BSD"}
keywords = ["openid", "oauth", "saml", "social auth"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet",
]

[tool.setuptools]
packages = ["social_core"]

[project.urls]
Homepage = "https://github.com/python-social-auth/social-core"

[project.optional-dependencies]
saml = [
"python3-saml>=1.5.0",
]
azuread = [
"cryptography>=2.1.1",
]
all = [
"social-auth-core[saml]",
"social-auth-core[azuread]",
]
allpy3 = [
"social-auth-core[all]",
]
# This is present until pip implements supports for PEP 735
# see https://github.com/pypa/pip/issues/12963
dev = [
"flake8>=5.0.4",
"pytest>=4.5",
"httpretty~=1.1.0",
"coverage>=3.6",
"pytest-cov>=2.7.1",
# pinned because of https://github.com/gabrielfalcao/HTTPretty/issues/484
"urllib3~=2.2.0",
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not mind dropping it from here and supporting only PEP 735 compliant tools for development (I use uv anyway).


[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[dependency-groups]
dev = [
"flake8>=5.0.4",
"pytest>=4.5",
"httpretty~=1.1.0",
"coverage>=3.6",
"pytest-cov>=2.7.1",
# pinned because of https://github.com/gabrielfalcao/HTTPretty/issues/484
"urllib3~=2.2.0",
]
4 changes: 0 additions & 4 deletions setup.cfg

This file was deleted.

105 changes: 0 additions & 105 deletions setup.py

This file was deleted.

4 changes: 3 additions & 1 deletion social_core/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
__version__ = "4.5.4"
import importlib.metadata

__version__ = importlib.metadata.version("social-auth-core")
4 changes: 0 additions & 4 deletions social_core/tests/requirements.txt

This file was deleted.

3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ envlist = py38,py39,py310,py311,py312
[testenv]
passenv = *
deps =
py{38,39,310,311,312}: -rsocial_core/tests/requirements.txt
py{38,39,310,311,312}: -e .[dev,all]
commands =
py{38,39,310,311,312}: pip install -e .[all]
pytest {posargs:-v --cov=social_core}
Loading