Permalink
Newer
Older
100644 54 lines (45 sloc) 1.92 KB
Jan 5, 2011
1
# -*- coding: utf-8 -*-
2
"""Setup file for easy installation"""
3
from os.path import join, dirname
4
from setuptools import setup
Jan 5, 2011
6
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
Mar 1, 2012
18
19
def long_description():
20
"""Return long description from README.rst if it's present
21
because it doesn't get installed."""
22
try:
23
return open(join(dirname(__file__), 'README.rst')).read()
24
except IOError:
25
return LONG_DESCRIPTION
26
27
Jan 5, 2011
28
setup(name='django-social-auth',
Jan 5, 2011
30
author='Matías Aguirre',
31
author_email='matiasaguirre@gmail.com',
32
description='Django social authentication made simple.',
33
license='BSD',
Mar 29, 2011
34
keywords='django, openid, oauth, social auth, application',
Jan 5, 2011
35
url='https://github.com/omab/django-social-auth',
Jan 18, 2011
36
packages=['social_auth',
37
'social_auth.backends',
38
'social_auth.backends.contrib',
39
'social_auth.backends.pipeline'],
40
package_data={'social_auth':['locale/*/LC_MESSAGES/*']},
41
long_description=long_description(),
42
install_requires=['django>=1.2.5',
43
'oauth2>=1.5.167',
45
classifiers=['Framework :: Django',
Jan 5, 2011
46
'Development Status :: 4 - Beta',
47
'Topic :: Internet',
48
'License :: OSI Approved :: BSD License',
Jan 5, 2011
49
'Intended Audience :: Developers',
50
'Environment :: Web Environment',
51
'Programming Language :: Python :: 2.5',
52
'Programming Language :: Python :: 2.6',
53
'Programming Language :: Python :: 2.7'])