2017-08-03 12:40:14 +02:00
|
|
|
import os
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
from allauth_ens import __version__
|
|
|
|
|
|
|
|
BASE_DIR = os.path.dirname(__file__)
|
|
|
|
|
|
|
|
with open(os.path.join(BASE_DIR, 'README.rst')) as readme:
|
|
|
|
README = readme.read()
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='django-allauth-ens',
|
|
|
|
version=__version__,
|
|
|
|
description=(
|
|
|
|
"Providers for django-allauth allowing using the ENS' auth-systems."
|
|
|
|
),
|
|
|
|
author='cof-geek',
|
|
|
|
author_email='cof-geek@ens.fr',
|
|
|
|
keywords='django allauth cas authentication',
|
|
|
|
long_description=README,
|
|
|
|
url='https://git.eleves.ens.fr/cof-geek/django-allauth-ens',
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Framework :: Django',
|
|
|
|
'Framework :: Django :: 1.8',
|
|
|
|
'Framework :: Django :: 1.9',
|
|
|
|
'Framework :: Django :: 1.10',
|
|
|
|
'Framework :: Django :: 1.11',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
],
|
|
|
|
license='MIT',
|
|
|
|
packages=find_packages(exclude=['tests']),
|
|
|
|
include_package_data=True,
|
|
|
|
install_requires=[
|
|
|
|
'django-allauth',
|
2018-10-21 15:43:20 +02:00
|
|
|
'django-allauth-cas>=1.0,<1.1',
|
|
|
|
# The version of CAS used by cas.eleves.ens.fr is unclear…
|
|
|
|
# Stick to python-cas 1.2.0 until we solve this mystery.
|
|
|
|
'python-cas==1.2.0',
|
2017-08-03 12:40:14 +02:00
|
|
|
'django-widget-tweaks',
|
2018-03-28 17:31:03 +02:00
|
|
|
'python-ldap',
|
2017-08-03 12:40:14 +02:00
|
|
|
],
|
|
|
|
)
|