setup.py 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #!/usr/bin/env python
  2. # -*- coding: windows-1251 -*-
  3. # Copyright (C) 2005 Roman V. Kiseliov
  4. # All rights reserved.
  5. #
  6. # Redistribution and use in source and binary forms, with or without
  7. # modification, are permitted provided that the following conditions
  8. # are met:
  9. #
  10. # 1. Redistributions of source code must retain the above copyright
  11. # notice, this list of conditions and the following disclaimer.
  12. #
  13. # 2. Redistributions in binary form must reproduce the above copyright
  14. # notice, this list of conditions and the following disclaimer in
  15. # the documentation and/or other materials provided with the
  16. # distribution.
  17. #
  18. # 3. All advertising materials mentioning features or use of this
  19. # software must display the following acknowledgment:
  20. # "This product includes software developed by
  21. # Roman V. Kiseliov <roman@kiseliov.ru>."
  22. #
  23. # 4. Redistributions of any form whatsoever must retain the following
  24. # acknowledgment:
  25. # "This product includes software developed by
  26. # Roman V. Kiseliov <roman@kiseliov.ru>."
  27. #
  28. # THIS SOFTWARE IS PROVIDED BY Roman V. Kiseliov ``AS IS'' AND ANY
  29. # EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  30. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  31. # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Roman V. Kiseliov OR
  32. # ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  33. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  34. # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  35. # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  36. # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  37. # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  38. # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  39. # OF THE POSSIBILITY OF SUCH DAMAGE.
  40. __rev_id__ = """$Id: setup.py,v 1.10 2005/10/26 07:44:23 rvk Exp $"""
  41. import sys
  42. from distutils.core import setup
  43. DESCRIPTION = \
  44. 'generating Excel 97+ files; importing Excel 95+ files; Excel files dumper; OLE2 files dumper; xls2txt, xls2csv, xls2html'
  45. LONG_DESCRIPTION = \
  46. '''pyExcelerator is a library for generating Excel 97/2000/XP/2003 and
  47. OpenOffice Calc compatible spreadsheets. pyExcelerator has
  48. full-blown support for UNICODE in Excel and Calc spreadsheets, allows
  49. using variety of formatting features, provides interface to printing
  50. options of Excel and OpenOffice Calc. pyExcelerator contains also
  51. Excel BIFF8 dumper and MS compound documents dumper. Main advantage is
  52. possibility of generating Excel spreadsheets without COM servers. The
  53. only requirement -- Python 2.4b2 or higher.
  54. From version 0.5 pyExcelerator can import data from Excel spreadsheets.'''
  55. CLASSIFIERS = \
  56. [
  57. 'Operating System :: OS Independent',
  58. 'Programming Language :: Python',
  59. 'License :: OSI Approved :: BSD License',
  60. 'Development Status :: 3 - Alpha',
  61. 'Intended Audience :: Developers',
  62. 'Topic :: Software Development :: Libraries :: Python Modules',
  63. 'Topic :: Office/Business :: Financial :: Spreadsheet',
  64. 'Topic :: Database',
  65. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries',
  66. ]
  67. KEYWORDS = \
  68. 'xls openoffice excel spreadsheet workbook database table unicode'
  69. setup(name = 'pyExcelerator',
  70. version = '0.6.4.1',
  71. author = 'Roman V. Kiseliov',
  72. author_email = 'roman@kiseliov.ru',
  73. url = 'http://sourceforge.net/projects/pyexcelerator/',
  74. download_url='http://sourceforge.net/projects/pyexcelerator/',
  75. description = DESCRIPTION,
  76. long_description = LONG_DESCRIPTION,
  77. license = 'BSD',
  78. platforms = 'Platform Independent',
  79. packages = ['pyExcelerator'],
  80. keywords = KEYWORDS,
  81. classifiers = CLASSIFIERS
  82. )