view setup.py @ 79:bd3e5fdd8398 1.0

Add apache site configuraton file for odfcase as wsgi application. Put the file apache-site.conf into /etc/apache2/sites-available/. It assumes that odfcast is installed as /home/mpuls/odfcast/releases/current and that there's a python environment with its site-packages in /home/mpuls/odfcast/env/lib/python2.7/site-packages. This is the setup used on the mpuls staging servers.
author Bernhard Herzog <bh@intevation.de>
date Wed, 25 Feb 2015 19:36:21 +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)