view setup.py @ 69:dcf870775c26

Add compability with flask 0.8 In flask version 0.10 (current stable version) the behaviour changed. With this version it is possible to specify the server and port via the config variable SERVER_NAME. To allow this behaviour also with flask 0.8 which is the version shipped with Debian Wheezy this commit extracts the host and port from the SERVER_NAME config variable.
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 05 Jan 2015 12:37:56 +0100
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(),
)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)