2009-01-21 16:11:39 +01:00
|
|
|
# -*- python -*-
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
2014-02-08 23:54:51 +01:00
|
|
|
# Debian Member Portfolio Service setup
|
2015-02-20 23:03:42 +01:00
|
|
|
# Copyright © 2009-2015 Jan Dittberner <jan@dittberner.info>
|
2009-01-21 16:11:39 +01:00
|
|
|
#
|
2014-02-08 23:54:51 +01:00
|
|
|
# This file is part of the Debian Member Portfolio Service.
|
2009-01-21 16:11:39 +01:00
|
|
|
#
|
2014-02-08 23:54:51 +01:00
|
|
|
# Debian Member Portfolio Service is free software: you can redistribute it
|
2014-01-11 17:18:44 +01:00
|
|
|
# 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.
|
2009-01-21 16:11:39 +01:00
|
|
|
#
|
2014-02-08 23:54:51 +01:00
|
|
|
# Debian Member Portfolio Service is distributed in the hope that it will be
|
2014-01-11 17:18:44 +01:00
|
|
|
# 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.
|
2009-01-21 16:11:39 +01:00
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Affero General Public
|
2014-10-14 13:38:29 +02:00
|
|
|
# License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2009-01-21 16:11:39 +01:00
|
|
|
#
|
2009-01-20 22:39:05 +01:00
|
|
|
try:
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
except ImportError:
|
|
|
|
from ez_setup import use_setuptools
|
|
|
|
use_setuptools()
|
|
|
|
from setuptools import setup, find_packages
|
2009-01-20 15:33:18 +01:00
|
|
|
|
2009-01-20 22:39:05 +01:00
|
|
|
setup(
|
2014-02-08 23:54:51 +01:00
|
|
|
name='debianmemberportfolio',
|
2015-03-09 21:29:46 +01:00
|
|
|
version='0.4.2',
|
2014-01-11 17:18:44 +01:00
|
|
|
description='service to create Debian Member Portfolio URLs',
|
2014-02-08 23:54:51 +01:00
|
|
|
long_description="""This is a service implementation that returns a set of
|
2014-10-14 13:38:29 +02:00
|
|
|
personalized URLs as outlined in https://wiki.debian.org/DDPortfolio. It
|
2014-02-08 23:54:51 +01:00
|
|
|
takes the Debian Member's full name and email address as input and returns
|
|
|
|
a JSON formatted array of URLs.""",
|
2014-10-14 13:38:29 +02:00
|
|
|
# Get strings from https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
2014-04-10 18:06:39 +02:00
|
|
|
classifiers=['Development Status :: 5 - Production/Stable',
|
2009-01-20 22:39:05 +01:00
|
|
|
'Environment :: Web Environment',
|
|
|
|
'License :: DFSG approved',
|
|
|
|
'License :: OSI approved :: ' +
|
|
|
|
'GNU Affero General Public License v3',
|
|
|
|
'Programming Language :: Python'],
|
|
|
|
keywords='Debian service JSON',
|
|
|
|
author='Jan Dittberner',
|
|
|
|
author_email='jan@dittberner.info',
|
2014-02-08 23:54:51 +01:00
|
|
|
url='http://debian-stuff.dittberner.info/debianmemberportfolio',
|
2009-01-20 22:39:05 +01:00
|
|
|
license='AGPL-3.0+',
|
2015-11-12 22:19:24 +01:00
|
|
|
install_requires=["Flask>=0.10.1", 'Babel>=1.3', 'Flask-Babel>=0.9'],
|
2009-01-20 22:39:05 +01:00
|
|
|
packages=find_packages(exclude=['ez_setup']),
|
|
|
|
include_package_data=True,
|
|
|
|
test_suite='nose.collector',
|
2014-02-08 23:54:51 +01:00
|
|
|
package_data={'debianmemberportfolio':
|
2015-11-12 22:19:24 +01:00
|
|
|
['*.ini', 'translations/*/LC_MESSAGES/*.mo']},
|
2014-02-08 23:54:51 +01:00
|
|
|
message_extractors={'debianmemberportfolio': [
|
2009-01-20 22:39:05 +01:00
|
|
|
('**.py', 'python', None),
|
2015-11-12 22:19:24 +01:00
|
|
|
('templates/**.html', 'jinja2', None),
|
|
|
|
('templates/**.js', 'jinja2', None),
|
|
|
|
('static/**', 'ignore', None)]},
|
2010-04-16 21:44:13 +02:00
|
|
|
zip_safe=False,
|
2009-01-20 22:39:05 +01:00
|
|
|
)
|