Select Git revision
ssoauth_setup_groups_and_perms.py
setup.py NaN GiB
import os
from setuptools import setup, find_packages
from pip.req.req_file import parse_requirements
from pip.download import PipSession
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)))
def get_requirements_list():
filename = os.path.join(os.path.dirname(__file__), "requirements.txt")
objects = list(parse_requirements(filename, session=PipSession()))
strings = [str(o.req) for o in objects]
return strings
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=get_requirements_list(),
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',
],
)