1import sys 2import os 3 4from distutils.core import setup 5 6if 'sdist' in sys.argv: 7 os.system('./admin/makedoc') 8 9version = '[library version:2.2.5]'[17:-1] 10 11setup( 12 name='python-openid', 13 version=version, 14 description='OpenID support for servers and consumers.', 15 long_description='''This is a set of Python packages to support use of 16the OpenID decentralized identity system in your application. Want to enable 17single sign-on for your web site? Use the openid.consumer package. Want to 18run your own OpenID server? Check out openid.server. Includes example code 19and support for a variety of storage back-ends.''', 20 url='http://github.com/openid/python-openid', 21 packages=['openid', 22 'openid.consumer', 23 'openid.server', 24 'openid.store', 25 'openid.yadis', 26 'openid.extensions', 27 'openid.extensions.draft', 28 ], 29 # license specified by classifier. 30 # license=getLicense(), 31 author='JanRain', 32 author_email='openid@janrain.com', 33 download_url='http://github.com/openid/python-openid/tarball/%s' % (version,), 34 classifiers=[ 35 "Development Status :: 5 - Production/Stable", 36 "Environment :: Web Environment", 37 "Intended Audience :: Developers", 38 "License :: OSI Approved :: Apache Software License", 39 "Operating System :: POSIX", 40 "Programming Language :: Python", 41 "Topic :: Internet :: WWW/HTTP", 42 "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", 43 "Topic :: Software Development :: Libraries :: Python Modules", 44 "Topic :: System :: Systems Administration :: Authentication/Directory", 45 ], 46 ) 47