setup.py 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. from setuptools import setup
  2. import sys
  3. extra = {}
  4. if sys.version_info >= (3, ):
  5. extra['use_2to3'] = True
  6. setup(
  7. name = 'feedparser',
  8. version = '5.2.1',
  9. description = 'Universal feed parser, handles RSS 0.9x, RSS 1.0, '
  10. 'RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds',
  11. author = 'Kurt McKee',
  12. author_email = 'contactme@kurtmckee.org',
  13. url = 'https://github.com/kurtmckee/feedparser',
  14. download_url = 'https://pypi.python.org/pypi/feedparser',
  15. platforms = ['POSIX', 'Windows'],
  16. package_dir = {'': 'feedparser'},
  17. py_modules = ['feedparser'],
  18. keywords = ['atom', 'cdf', 'feed', 'parser', 'rdf', 'rss'],
  19. classifiers = [
  20. 'Development Status :: 5 - Production/Stable',
  21. 'Intended Audience :: Developers',
  22. 'License :: OSI Approved',
  23. 'Operating System :: OS Independent',
  24. 'Programming Language :: Python',
  25. 'Programming Language :: Python :: 2',
  26. 'Programming Language :: Python :: 2.4',
  27. 'Programming Language :: Python :: 2.5',
  28. 'Programming Language :: Python :: 2.6',
  29. 'Programming Language :: Python :: 2.7',
  30. 'Programming Language :: Python :: 3',
  31. 'Programming Language :: Python :: 3.0',
  32. 'Programming Language :: Python :: 3.1',
  33. 'Programming Language :: Python :: 3.2',
  34. 'Programming Language :: Python :: 3.3',
  35. 'Programming Language :: Python :: 3.4',
  36. 'Topic :: Software Development :: Libraries :: Python Modules',
  37. 'Topic :: Text Processing :: Markup :: XML',
  38. ],
  39. **extra
  40. )