import os
from setuptools import setup, find_packages

README = open(os.path.join(os.path.dirname(__file__), "README.md")).read()

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))


setup(
    name='django-ssoauth',
    version='1.0',
    packages=find_packages(),
    include_package_data=True,
    license='BSD',
    description='SSO using SAML2',
    long_description=README,
    url='https://lab.it.hs-hannover.de/django/ssoauth',
    author='Art Lukyanchyk',
    author_email='artiom.lukyanchyk@hs-hannover.de',
    zip_safe=False,
    install_requires=[
        'python3-saml',
        'Django>=1.11,<3.0'
    ],
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.4',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)

# binary dependencies:
# sudo apt install libxml2-dev libxslt1-dev xmlsec1 libxmlsec1-dev pkg-config