Fixed: missing import of `glob`
[openoffice-python:openoffice-python.git] / setup.py
1 #!/usr/bin/env python
2
3 try:
4     from setuptools import setup
5 except ImportError:
6     from distutils.core import setup
7
8 # patch distutils if it can't cope with the "classifiers" or
9 # "download_url" keywords
10 from sys import version
11 if version < '2.2.3':
12     from distutils.dist import DistributionMetadata
13     DistributionMetadata.classifiers = None
14     DistributionMetadata.download_url = None
15
16 setup(
17     name='openoffice-python',
18     description='Enhanced Python interfaces to OpenOffice.org',
19     packages=['openoffice'],
20     version='0.1',
21     author='Hartmut Goebel',
22     author_email='h.goebel@goebel-consult.de',
23     url          = "http://openoffice-python.origo.ethz.ch/",
24     download_url = "http://openoffice-python.origo.ethz.ch/download",
25     platforms=['POSIX'],
26     license='GPLv3',
27     classifiers=[
28         'Development Status :: 3 - Beta',
29         'Intended Audience :: Developers',
30         'License :: OSI Approved :: GNU General Public License (GPL)',
31         'Operating System :: POSIX',
32         'Programming Language :: Python',
33         'Topic :: Software Development :: Libraries :: Python Modules'
34         ],
35     requires=['python(>=2.3)'],
36     )