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
|
2017-09-10 11:41:00 +02:00
|
|
|
# Copyright © 2009-2017 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:
|
2017-08-20 21:10:27 +02:00
|
|
|
# noinspection PyUnresolvedReferences
|
2009-01-20 22:39:05 +01:00
|
|
|
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',
|
2017-09-10 12:17:05 +02:00
|
|
|
version='0.5.1',
|
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+',
|
2017-09-10 11:41:00 +02:00
|
|
|
install_requires=["Flask>=0.12.2", 'Babel>=2.5.0', 'Flask-Babel>=0.11.2', 'wtforms'],
|
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
|
|
|
)
|