setup.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!/usr/bin/env python
  2. #
  3. # Setup script for the elementtree library
  4. # $Id: setup.py 2326 2005-03-17 07:45:21Z fredrik $
  5. #
  6. # Usage: python setup.py install
  7. #
  8. from distutils.core import setup
  9. try:
  10. # add download_url syntax to distutils
  11. from distutils.dist import DistributionMetadata
  12. DistributionMetadata.classifiers = None
  13. DistributionMetadata.download_url = None
  14. except:
  15. pass
  16. DESCRIPTION="ElementTree - a light-weight XML object model for Python."
  17. LONG_DESCRIPTION="""\
  18. The Element type is a flexible container object, designed to store
  19. hierarchical data structures in memory. Element structures can be
  20. converted to and from XML."""
  21. setup(
  22. name="elementtree",
  23. version="1.2.6-20050316",
  24. author="Fredrik Lundh",
  25. author_email="fredrik@pythonware.com",
  26. url="http://effbot.org/zone/element-index.htm",
  27. description=DESCRIPTION,
  28. long_description=LONG_DESCRIPTION,
  29. download_url="http://effbot.org/downloads#elementtree",
  30. license="Python (MIT style)",
  31. packages=["elementtree"],
  32. platforms="Python 1.5.2 and later.",
  33. classifiers=[
  34. "Development Status :: 6 - Mature",
  35. "Operating System :: OS Independent",
  36. "Topic :: Text Processing :: Markup :: HTML",
  37. "Topic :: Text Processing :: Markup :: XML",
  38. ]
  39. )