From 429a27032922a6077c3e8209ca4f1caa929ecf80 Mon Sep 17 00:00:00 2001 From: pomali Date: Mon, 8 Jul 2024 00:23:41 +0200 Subject: [PATCH] Fix extras naming `with_social` -> `with-social` (#635) to conform with Core metadata specification https://packaging.python.org/en/latest/specifications/core-metadata/#provides-extra-multiple-use --- docs/installation.rst | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 290c5d46..c38a3ad2 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -44,7 +44,7 @@ You're good to go now! Registration (optional) ----------------------- -1. If you want to enable standard registration process you will need to install ``django-allauth`` by using ``pip install 'dj-rest-auth[with_social]'``. +1. If you want to enable standard registration process you will need to install ``django-allauth`` by using ``pip install 'dj-rest-auth[with-social]'``. 2. Add ``django.contrib.sites``, ``allauth``, ``allauth.account``, ``allauth.socialaccount`` and ``dj_rest_auth.registration`` apps to INSTALLED_APPS in your django settings.py: diff --git a/setup.py b/setup.py index 91f50c4b..63353b8c 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ 'djangorestframework>=3.13.0', ], extras_require={ - 'with_social': ['django-allauth>=0.56.0,<0.62.0'], + 'with-social': ['django-allauth>=0.56.0,<0.62.0'], }, tests_require=[ 'coveralls>=1.11.1',