|
26 | 26 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
27 | 27 | # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
28 | 28 | # POSSIBILITY OF SUCH DAMAGE.
|
29 |
| -"""setup.py""" |
| 29 | +"""OpenID integration for django.contrib.auth |
| 30 | +
|
| 31 | +A library that can be used to add OpenID support to Django applications. |
| 32 | +The library integrates with Django's built in authentication system, so |
| 33 | +most applications require minimal changes to support OpenID llogin. The |
| 34 | +library also includes the following features: |
| 35 | + * Basic user details are transferred from the OpenID server via the |
| 36 | + simple Registration extension. |
| 37 | + * can be configured to use a fixed OpenID server URL, for use in SSO. |
| 38 | + * supports the launchpad.net teams extension to get team membership |
| 39 | + info. |
| 40 | +""" |
30 | 41 |
|
31 | 42 | from distutils.core import setup
|
32 | 43 |
|
33 |
| -setup(name = 'django-openid-auth', |
34 |
| - version = '0.1', |
35 |
| - description = 'OpenID integration for django.contrib.auth', |
36 |
| - long_description = """A library that can be used to add OpenID support to |
37 |
| - Django applications. The library integrates with Django's built in |
38 |
| - authentication system, so most applications require minimal changes to |
39 |
| - support OpenID llogin. The library also includes the following features: |
40 |
| - * Basic user details are transferred from the OpenID server via the simple |
41 |
| - Registration extension. |
42 |
| - * can be configured to use a fixed OpenID server URL, for use in SSO. |
43 |
| - * supports the launchpad.net teams extension to get team membership info. |
44 |
| - """, |
45 |
| - url = 'https://launchpad.net/django-openid-auth', |
46 |
| - packages = ['django_openid_auth', |
47 |
| - 'django_openid_auth/management', |
48 |
| - 'django_openid_auth/management/commands', |
49 |
| - 'django_openid_auth/templates', |
50 |
| - 'django_openid_auth/templates/openid', |
51 |
| - 'django_openid_auth/tests', |
52 |
| - ], |
53 |
| - classifiers = ['Development Status :: 4 - Beta', |
54 |
| - 'Environment :: Web Environment', |
55 |
| - 'Framework :: Django', |
56 |
| - 'Intended Audience :: Developers', |
57 |
| - 'License :: OSI Approved :: BSD License', |
58 |
| - 'Operating System :: OS Independent', |
59 |
| - 'Programming Language :: Python', |
60 |
| - 'Topic :: Utilities']) |
| 44 | + |
| 45 | +description, long_description = __doc__.split('\n\n', 1) |
| 46 | + |
| 47 | +setup( |
| 48 | + name='django-openid-auth', |
| 49 | + version='0.1', |
| 50 | + author='Canonical Ltd', |
| 51 | + description=description, |
| 52 | + long_description=long_description, |
| 53 | + license='BSD', |
| 54 | + url='https://launchpad.net/django-openid-auth', |
| 55 | + classifiers=[ |
| 56 | + 'Development Status :: 4 - Beta', |
| 57 | + 'Environment :: Web Environment', |
| 58 | + 'Framework :: Django', |
| 59 | + 'Intended Audience :: Developers', |
| 60 | + 'License :: OSI Approved :: BSD License', |
| 61 | + 'Operating System :: OS Independent', |
| 62 | + 'Programming Language :: Python', |
| 63 | + 'Topic :: Utilities' |
| 64 | + ], |
| 65 | + packages=[ |
| 66 | + 'django_openid_auth', |
| 67 | + 'django_openid_auth.management', |
| 68 | + 'django_openid_auth.management.commands', |
| 69 | + 'django_openid_auth.tests', |
| 70 | + ], |
| 71 | + package_data={ |
| 72 | + 'django_openid_auth': ['templates/*.html', 'templates/openid/*.html'], |
| 73 | + }, |
| 74 | + ) |
0 commit comments