Mercurial > odfcast
view setup.py @ 93:48dabf4bf680
Make http_error_code a parameter of the MergeErrorResponse constructor.
It defaults to 500, the value previously hard-coded in the call to the
super class constructor. This change will allow us to specify other
error codes in places where 500 is not useful.
Part of mpuls/issue6009
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Fri, 28 Apr 2017 19:06:14 +0200 |
parents | 1e62ccffb395 |
children |
line wrap: on
line source
# -*- coding: utf-8 -*- from setuptools import setup, find_packages version = '0.1' def read(filename): with open(filename, "r") as f: return f.read() setup( name='odfcast', version=version, description="A document conversion http service based on Open-" "/LibreOffice, py3o and PyPDF2", long_description=read("README.rst"), classifiers=[ "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Text Processing :: General", "License :: OSI Approved :: MIT License", ], keywords='OpenOffice PDF', author='Björn Ricks', author_email='bjoern.ricks@intevation.de', url='', license='MIT License', packages=find_packages(exclude=["examples"]), include_package_data=True, install_requires=read("requirements.txt").split(), )