You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.6KB

  1. # -*- python -*-
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Debian Member Portfolio Service setup
  5. # Copyright © 2009-2020 Jan Dittberner <jan@dittberner.info>
  6. #
  7. # This file is part of the Debian Member Portfolio Service.
  8. #
  9. # Debian Member Portfolio Service is free software: you can redistribute it
  10. # and/or modify it under the terms of the GNU Affero General Public License as
  11. # published by the Free Software Foundation, either version 3 of the License,
  12. # or (at your option) any later version.
  13. #
  14. # Debian Member Portfolio Service is distributed in the hope that it will be
  15. # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
  17. # General Public License for more details.
  18. #
  19. # You should have received a copy of the GNU Affero General Public
  20. # License along with this program. If not, see <https://www.gnu.org/licenses/>.
  21. #
  22. try:
  23. from setuptools import setup, find_packages
  24. except ImportError:
  25. # noinspection PyUnresolvedReferences
  26. from ez_setup import use_setuptools
  27. use_setuptools()
  28. from setuptools import setup, find_packages
  29. setup(
  30. name='debianmemberportfolio',
  31. version='0.6.4',
  32. description='service to create Debian Member Portfolio URLs',
  33. long_description="""This is a service implementation that returns a set of
  34. personalized URLs as outlined in https://wiki.debian.org/DDPortfolio. It
  35. takes the Debian Member's full name and email address as input and returns
  36. a JSON formatted array of URLs.""",
  37. # Get strings from https://pypi.python.org/pypi?%3Aaction=list_classifiers
  38. classifiers=['Development Status :: 5 - Production/Stable',
  39. 'Environment :: Web Environment',
  40. 'License :: DFSG approved',
  41. 'License :: OSI approved :: ' +
  42. 'GNU Affero General Public License v3',
  43. 'Programming Language :: Python'],
  44. keywords='Debian service JSON',
  45. author='Jan Dittberner',
  46. author_email='jan@dittberner.info',
  47. url='http://debian-stuff.dittberner.info/debianmemberportfolio',
  48. license='AGPL-3.0+',
  49. install_requires=["Flask>=0.12.2", 'Babel>=2.5.0', 'Flask-Babel>=0.11.2', 'wtforms'],
  50. packages=find_packages(exclude=['ez_setup']),
  51. include_package_data=True,
  52. test_suite='nose.collector',
  53. package_data={'debianmemberportfolio':
  54. ['*.ini', 'translations/*/LC_MESSAGES/*.mo']},
  55. message_extractors={'debianmemberportfolio': [
  56. ('**.py', 'python', None),
  57. ('templates/**.html', 'jinja2', None),
  58. ('templates/**.js', 'jinja2', None),
  59. ('static/**', 'ignore', None)]},
  60. zip_safe=False,
  61. )