2 # -*- coding: utf-8 -*-
5 # Etalage -- Open Data POIs portal
6 # By: Emmanuel Raviart <eraviart@easter-eggs.com>
8 # Copyright (C) 2011, 2012 Easter-eggs
9 # http://gitorious.org/infos-pratiques/etalage
11 # This file is part of Etalage.
13 # Etalage is free software; you can redistribute it and/or modify
14 # it under the terms of the GNU Affero General Public License as
15 # published by the Free Software Foundation, either version 3 of the
16 # License, or (at your option) any later version.
18 # Etalage is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU Affero General Public License for more details.
23 # You should have received a copy of the GNU Affero General Public License
24 # along with this program. If not, see <http://www.gnu.org/licenses/>.
27 """Web application based on "Etalage" hierarchical database of territories"""
31 from setuptools import setup, find_packages
33 from ez_setup import use_setuptools
35 from setuptools import setup, find_packages
39 Development Status :: 3 - Alpha
40 Environment :: Web Environment
41 Intended Audience :: Information Technology
42 License :: OSI Approved :: GNU Affero General Public License v3
43 Operating System :: OS Independent
44 Programming Language :: Python
45 Topic :: Scientific/Engineering
48 doc_lines = __doc__.split('\n')
55 author = 'Emmanuel Raviart',
56 author_email = 'infos-pratiques-devel@listes.infos-pratiques.org',
57 classifiers = [classifier for classifier in classifiers.split('\n') if classifier],
58 description = doc_lines[0],
59 keywords = 'data database directory geographical organism open organization poi web',
60 license = 'http://www.fsf.org/licensing/licenses/agpl-3.0.html',
61 long_description = '\n'.join(doc_lines[2:]),
62 url = 'http://gitorious.org/infos-pratiques/etalage',
65 ('share/locale/fr/LC_MESSAGES', ['etalage/i18n/fr/LC_MESSAGES/etalage.mo']),
69 main = etalage.application:make_app
72 main = etalage.websetup:Installer
74 include_package_data = True,
78 "Suq-Monpyjama >= 0.8",
79 "threading2 >= 0.2.1",
84 message_extractors = {'etalage': [
85 ('**.py', 'python', None),
86 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
87 ('static/**', 'ignore', None)]},
88 # package_data = {'etalage': ['i18n/*/LC_MESSAGES/*.mo']},
89 packages = find_packages(),
90 paster_plugins = ['PasteScript'],
91 setup_requires = ["PasteScript >= 1.6.3"],