forked from T0ha/ezodf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (52 loc) · 1.82 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python
# coding:utf-8
# Author: mozman
# Purpose: setup
# Created: 27.12.2010
# License: MIT license
#
# Copyright (C) 2010 Manfred Moitzi
#
import os
from distutils.core import setup
from version import VERSION
AUTHOR_NAME = 'Manfred Moitzi'
AUTHOR_EMAIL = 'mozman@gmx.at'
MAINTAINER_NAME = 'Anton Shvein'
MAINTAINER_EMAIL = 't0hashvein@gmail.com'
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return "File '%s' not found.\n" % fname
setup(name='ezodf',
version=VERSION,
description='A Python package to create/manipulate OpenDocumentFormat files.',
author=AUTHOR_NAME,
url='https://github.com/T0ha/ezodf',
download_url='https://github.com/T0ha/ezodf/releases',
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER_NAME,
maintainer_email=MAINTAINER_EMAIL,
packages=['ezodf'],
provides=['ezodf'],
requires=['weakrefset', 'lxml'],
keywords=['ODF', 'OpenDocumentFormat', 'OpenOffice', 'LibreOffice'],
long_description=read('README.rst')+read('NEWS.rst'),
platforms="OS Independent",
license="MIT License",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Office/Business :: Office Suites",
]
)