setup.py 1.6 KB

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