Skip to content

Commit ef17cb3

Browse files
committed
Merge pull request #146 from mdentremont/topic/86
#86: Add missing dependencies to setup.py
2 parents 073dd3e + 1d9c2d6 commit ef17cb3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You're good to go now!
3838
Registration (optional)
3939
-----------------------
4040

41-
1. If you want to enable standard registration process you will need to install ``django-allauth`` - see this doc for installation http://django-allauth.readthedocs.org/en/latest/installation.html.
41+
1. If you want to enable standard registration process you will need to install ``django-allauth`` by using ``pip install django-rest-auth[extras]`` or ``pip install django-rest-auth[with_social]``.
4242

4343
2. Add ``allauth``, ``allauth.account`` and ``rest_auth.registration`` apps to INSTALLED_APPS in your django settings.py:
4444

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@
3232
'djangorestframework>=3.1.0',
3333
'six>=1.9.0',
3434
],
35+
extras_require={
36+
'with_social': ['django-allauth>=0.24.1'],
37+
},
38+
tests_require=[
39+
'responses>=0.5.0',
40+
'django-allauth>=0.24.1',
41+
],
3542
test_suite='runtests.runtests',
3643
include_package_data=True,
3744
# cmdclass={},

0 commit comments

Comments
 (0)