forked from omab/python-social-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (51 loc) · 2.15 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- coding: utf-8 -*-
"""Setup file for easy installation"""
from os.path import join, dirname
from setuptools import setup
version = __import__('social').__version__
LONG_DESCRIPTION = """
Python Social Auth is an easy to setup social authentication/registration
mechanism with support for several frameworks and auth providers.
Crafted using base code from django-social-auth, implements a common interface
to define new authentication providers from third parties. And to bring support
for more frameworks and ORMs.
"""
def long_description():
"""Return long description from README.rst if it's present
because it doesn't get installed."""
try:
return open(join(dirname(__file__), 'README.rst')).read()
except IOError:
return LONG_DESCRIPTION
setup(name='python-social-auth',
version=version,
author='Matías Aguirre',
author_email='[email protected]',
description='Python social authentication made simple.',
license='BSD',
keywords='django, flask, webpy, openid, oauth, social auth',
url='https://github.com/omab/python-social-auth',
packages=['social',
'social.storage',
'social.apps',
'social.apps.django_app',
'social.apps.django_app.default',
'social.apps.django_app.me',
'social.apps.webpy_app',
'social.apps.flask_app',
'social.backends',
'social.pipeline',
'social.strategies'],
#package_data={'social': ['locale/*/LC_MESSAGES/*']},
long_description=long_description(),
install_requires=['oauth2>=1.5.167',
'python_openid>=2.2'],
classifiers=['Development Status :: 4 - Beta',
'Topic :: Internet',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Environment :: Web Environment',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'],
zip_safe=False)