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