[Mpuls-commits] r4088 - jmd/trunk

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 2 16:19:20 CET 2010


Author: torsten
Date: 2010-11-02 16:19:20 +0100 (Tue, 02 Nov 2010)
New Revision: 4088

Added:
   jmd/trunk/setup.cfg
   jmd/trunk/setup.py
Log:
New. Added setup.py files as the are important in the workflow to generate i18n files.


Added: jmd/trunk/setup.cfg
===================================================================
--- jmd/trunk/setup.cfg	2010-11-02 15:10:48 UTC (rev 4087)
+++ jmd/trunk/setup.cfg	2010-11-02 15:19:20 UTC (rev 4088)
@@ -0,0 +1,62 @@
+[egg_info]
+tag_build = dev
+tag_svn_revision = true
+
+[easy_install]
+find_links = http://www.pylonshq.com/download/
+
+[pudge]
+theme = pythonpaste.org
+
+# Add extra doc files here with spaces between them
+docs = docs/index.txt
+
+# Doc Settings
+doc_base = docs/
+dest = docs/html
+
+# Add extra modules here separated with commas
+modules = jmdweb
+title = jmdweb
+organization = Pylons
+
+# Highlight code-block sections with Pygments
+highlighter = pygments
+
+# Optionally add extra links
+#organization_url = http://pylonshq.com/
+#trac_url = http://pylonshq.com/project
+settings = no_about=true
+
+# Optionally add extra settings
+#           link1=/community/ Community
+#           link2=/download/ Download
+
+[publish]
+doc-dir=docs/html
+make-dirs=1
+
+# Babel configuration
+[compile_catalog]
+domain = jmdweb 
+directory = jmdweb/i18n
+statistics = true
+
+[extract_messages]
+add_comments = TRANSLATORS:
+output_file = jmdweb/i18n/jmdweb.pot
+width = 80
+
+[init_catalog]
+domain = jmdweb 
+input_file = jmdweb/i18n/jmdweb.pot
+output_dir = jmdweb/i18n
+
+[update_catalog]
+domain = jmdweb
+input_file = jmdweb/i18n/jmdweb.pot
+output_dir = jmdweb/i18n
+previous = true
+
+[nosetests]
+with-pylons=test.ini

Added: jmd/trunk/setup.py
===================================================================
--- jmd/trunk/setup.py	2010-11-02 15:10:48 UTC (rev 4087)
+++ jmd/trunk/setup.py	2010-11-02 15:19:20 UTC (rev 4088)
@@ -0,0 +1,60 @@
+# Copyright 2007, 2008 Intevation GmbH, Germany, <info at intevation.de>
+# 
+# This file is part of mpuls WASKA (CoMPUter-based case fiLeS - 
+# Web-Anwendungs-Server fuer Kompetenzagenturen).
+# 
+# mpuls WASKA is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+# 
+# mpuls WASKA is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public
+# License for more details.
+# 
+# You should have received a copy of the GNU Affero General Public
+# License along with mpuls WASKA. If not, see <http://www.gnu.org/licenses/>.
+# 
+# mpuls WASKA has been developed on behalf of the 
+# Projekttraeger im Deutschen Zentrum fuer Luft- und Raumfahrt e.V. (PT-DLR)
+# within the programme Kompetenzagenturen (Durchfuehrungsphase) funded by
+# the Bundesministerium fuer Familie, Senioren, Frauen und Jugend and 
+# European Social Fund resources.
+try:
+    from setuptools import setup, find_packages
+except ImportError:
+    from ez_setup import use_setuptools
+    use_setuptools()
+    from setuptools import setup, find_packages
+
+setup(
+    name='jmdweb',
+    version="2.0.0-pre",
+    description='mpuls ist ein Web-Applikations-Rahmen zur Verwaltung \
+                 von elektronischen Fallakten (Schwerpunkt Sozialinformatik)',
+    author='Intevation GmbH',
+    author_email='info at intevation.de',
+    url='http://wald.intevation.org/projects/mpuls/',
+    install_requires=["Pylons>=0.9.7", "pyExcelerator"],
+    packages=find_packages(exclude=['ez_setup']),
+    include_package_data=True,
+    test_suite='nose.collector',
+    package_data={'jmdweb': ['i18n/*/LC_MESSAGES/*.mo']},
+    message_extractors = {'jmdstrukturweb': [
+            ('**.py', 'python', None),
+            ('templates/**.mako', 'mako', None),
+            ('public/**', 'ignore', None)],
+            'jmdweb': [
+            ('**.py', 'python', None),
+            ('templates/**.mako', 'mako', None),
+            ('public/**', 'ignore', None)]},
+    entry_points="""
+    [paste.app_factory]
+    main = mpulsweb.config.middleware:make_app
+    redirector = mpulsweb.config.middleware:make_redirector
+
+    [paste.app_install]
+    main = pylons.util:PylonsInstaller
+    """,
+)



More information about the Mpuls-commits mailing list