Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • v0.52.5
  • v0.52.4
  • v0.52.3
  • v0.52.2
  • v0.52.1
  • v0.52.0
  • v0.51.0
  • v0.50.0
  • v0.49.0
10 results

commitlint.config.js

Blame
  • 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',
        ],
    )