Skip to content
Snippets Groups Projects
setup.py 2 KiB
Newer Older
  • Learn to ignore specific revisions
  • import sys
    
    from setuptools import setup
    
    
    import openid
    
    version = openid.__version__
    
    
    drebs's avatar
    drebs committed
    install_requires = [
        # Ensure that Python <= 3.3 uses an older version of `defusedxml`, which
        # dropped compatibility in 0.5.0
        'defusedxml' + ('<=0.4.1' if sys.version_info < (3, 4) else ''),
    ]
    
    
    setup(
        name='python3-openid',
        version=version,
        description='OpenID support for modern servers and consumers.',
        long_description='''This is a set of Python packages to support use of
    the OpenID decentralized identity system in your application, update to Python
    3.  Want to enable single sign-on for your web site?  Use the openid.consumer
    package.  Want to run your own OpenID server? Check out openid.server.
    Includes example code and support for a variety of storage back-ends.''',
        url='http://github.com/necaris/python3-openid',
        packages=[
            'openid',
            'openid.consumer',
            'openid.server',
            'openid.store',
            'openid.yadis',
            'openid.extensions',
            'openid.extensions.draft',
        ],
        # license specified by classifier
        author='Rami Chowdhury',
        author_email='rami.chowdhury@gmail.com',
        maintainer='Rami Chowdhury',
        maintainer_email='rami.chowdhury@gmail.com',
        download_url=('http://github.com/necaris/python3-openid/tarball'
                      '/v{}'.format(version)),
    
    drebs's avatar
    drebs committed
        install_requires=install_requires,
    
        classifiers=[
            "Development Status :: 5 - Production/Stable",
            "Environment :: Web Environment",
            "Intended Audience :: Developers",
            "License :: OSI Approved :: Apache Software License",
            "Operating System :: POSIX",
            "Programming Language :: Python",
            "Programming Language :: Python :: 3",
            "Topic :: Internet :: WWW/HTTP",
            ("Topic :: Internet :: WWW/HTTP :: Dynamic Content :: "
             "CGI Tools/Libraries"),
            "Topic :: Software Development :: Libraries :: Python Modules",
            ("Topic :: System :: Systems Administration :: "
             "Authentication/Directory"),
    
    drebs's avatar
    drebs committed
        ])