Commit 6cb09154 authored by Gabriel Monnerat's avatar Gabriel Monnerat

Create binary echo_cloudooo_conf which shows sample configuration.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@39182 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7d39b733
from os import path
import pkg_resources
def main():
cloudooo_conf_path = pkg_resources.resource_filename("cloudooo",
path.join("samples", "cloudooo.conf.in"))
print open(cloudooo_conf_path).read()
......@@ -6,7 +6,7 @@ version = '1.0.9'
folder_path = path.abspath(path.dirname(__file__)) + "/cloudooo"
long_description = "%s\n%s" % (open(path.join(folder_path, "README.txt")).read(),
open(path.join(folder_path, "CHANGES.txt")).read())
open(path.join(folder_path, "CHANGES.txt")).read())
setup(name='cloudooo',
version=version,
description="XML-RPC openoffice document convertion server",
......@@ -39,5 +39,6 @@ setup(name='cloudooo',
main = cloudooo.cloudooo:application
[console_scripts]
cloudooo_tester = cloudooo.bin.cloudooo_tester:main
echo_cloudooo_conf = cloudooo.bin.echo_cloudooo_conf:main
""",
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment