Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 54 lines (45 sloc) 1.964 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
25ad097 @omab PEP8
authored
18
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
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
d5e7498 @omab setup.py updated
authored
28 setup(name='django-social-auth',
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
29 version=version,
d5e7498 @omab setup.py updated
authored
30 author='Matías Aguirre',
31 author_email='matiasaguirre@gmail.com',
32 description='Django social authentication made simple.',
12b80c5 @omab Fixed licence in setup.py file. Closes gh-60
authored
33 license='BSD',
27a4758 @omab Typo
authored
34 keywords='django, openid, oauth, social auth, application',
d5e7498 @omab setup.py updated
authored
35 url='https://github.com/omab/django-social-auth',
cf1ab20 @omab Fix setup.py
authored
36 packages=['social_auth',
37 'social_auth.backends',
70af193 @originell Add new non-magical pipeline to setup.py
originell authored
38 'social_auth.backends.contrib',
39 'social_auth.backends.pipeline'],
595e76b @gugu User-friendly errors, russian translation
gugu authored
40 package_data={'social_auth':['locale/*/LC_MESSAGES/*']},
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
41 long_description=long_description(),
c08dde0 @krvss Preparing for merge with main branch - cleaning up old merge differences
krvss authored
42 install_requires=['django>=1.2.5',
43 'oauth2>=1.5.167',
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
44 'python_openid>=2.2'],
d4a9707 @krvss Preparing for merge with main branch - more clean-ups and documents u…
krvss authored
45 classifiers=['Framework :: Django',
d5e7498 @omab setup.py updated
authored
46 'Development Status :: 4 - Beta',
47 'Topic :: Internet',
12b80c5 @omab Fixed licence in setup.py file. Closes gh-60
authored
48 'License :: OSI Approved :: BSD License',
d5e7498 @omab setup.py updated
authored
49 'Intended Audience :: Developers',
50 'Environment :: Web Environment',
0b9ad8c @omab Updated setup.py file to install properly, added version to social_au…
authored
51 'Programming Language :: Python :: 2.5',
52 'Programming Language :: Python :: 2.6',
53 'Programming Language :: Python :: 2.7'])
Something went wrong with that request. Please try again.