Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 52 lines (44 sloc) 1.9 kb
d5e7498 @omab setup.py updated
authored
1 # -*- coding: utf-8 -*-
2 """Setup file for easy installation"""
3 from os.path import join, dirname
4 from setuptools import setup
df29877 setup.py file added for correct install with pip
Stas Kravets authored
5
d5e7498 @omab setup.py updated
authored
6
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
7 version = __import__('social_auth').__version__
8
9 LONG_DESCRIPTION = """
10 Django Social Auth is an easy to setup social authentication/registration
11 mechanism for Django projects.
12
13 Crafted using base code from django-twitter-oauth_ and django-openid-auth_,
14 implements a common interface to define new authentication providers from
15 third parties.
16 """
17
18 def long_description():
19 """Return long description from README.rst if it's present
20 because it doesn't get installed."""
21 try:
22 return open(join(dirname(__file__), 'README.rst')).read()
23 except IOError:
24 return LONG_DESCRIPTION
25
26
d5e7498 @omab setup.py updated
authored
27 setup(name='django-social-auth',
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
28 version=version,
d5e7498 @omab setup.py updated
authored
29 author='Matías Aguirre',
30 author_email='matiasaguirre@gmail.com',
31 description='Django social authentication made simple.',
12b80c5 @omab Fixed licence in setup.py file. Closes gh-60
authored
32 license='BSD',
27a4758 @omab Typo
authored
33 keywords='django, openid, oauth, social auth, application',
d5e7498 @omab setup.py updated
authored
34 url='https://github.com/omab/django-social-auth',
cf1ab20 @omab Fix setup.py
authored
35 packages=['social_auth',
36 'social_auth.backends',
70af193 @originell Add new non-magical pipeline to setup.py
originell authored
37 'social_auth.backends.contrib',
38 'social_auth.backends.pipeline'],
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
39 long_description=long_description(),
059c345 @omab Updated django version and added requirements.txt file
authored
40 install_requires=['django>=1.2.5',
ab8ce75 @omab Migration to OAuth2 lib. Closes gh-37. Closes gh-28. Closes gh-31.
authored
41 'oauth2>=1.5.167',
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
42 'python_openid>=2.2'],
d5e7498 @omab setup.py updated
authored
43 classifiers=['Framework :: Django',
44 'Development Status :: 4 - Beta',
45 'Topic :: Internet',
12b80c5 @omab Fixed licence in setup.py file. Closes gh-60
authored
46 'License :: OSI Approved :: BSD License',
d5e7498 @omab setup.py updated
authored
47 'Intended Audience :: Developers',
48 'Environment :: Web Environment',
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
49 'Programming Language :: Python :: 2.5',
50 'Programming Language :: Python :: 2.6',
51 'Programming Language :: Python :: 2.7'])
Something went wrong with that request. Please try again.