Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved metadata into setup.cfg #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,39 @@
[metadata]
name = ezodf
author = Manfred Moitzi
author_email = mozman@gmx.at
maintainer = Anton Shvein
maintainer_email = t0hashvein@gmail.com
license = MIT License
description = A Python package to create/manipulate OpenDocumentFormat files.
keywords =
ODF
OpenDocumentFormat
OpenOffice
LibreOffice
url = https://github.com/T0ha/ezodf
download_url = https://github.com/T0ha/ezodf/releases
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
platforms = OS, Independent
provides = ezodf
install_requires =
weakrefset
lxml

[options]
packages = ezodf

[bdist_wheel]
universal=1
44 changes: 5 additions & 39 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,51 +9,17 @@
#

import os
from distutils.core import setup
from setuptools 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",
]
)
setup(
version=VERSION,
long_description=read('README.rst')+read('NEWS.rst')
)