update for release 0.3

- bump copyright years
- fix PEP8 violations
- rewrap lines
- bump version number
- replace DDPortfolio with Debian Member Portfolio
This commit is contained in:
Jan Dittberner 2014-01-11 17:18:44 +01:00
parent 743d3aea34
commit 43668f662b
2 changed files with 40 additions and 33 deletions

View file

@ -1,12 +1,14 @@
# -*- coding: utf-8 -*-
#
# Debian Developer Portfolio Service documentation build configuration file, created by
# sphinx-quickstart on Tue Jan 20 22:27:21 2009.
# Debian Member Portfolio Service documentation build configuration file,
# created by sphinx-quickstart on Tue Jan 20 22:27:21 2009.
#
# This file is execfile()d with the current directory set to its containing dir.
# This file is execfile()d with the current directory set to its containing
# dir.
#
# The contents of this file are pickled, so don't put values in the namespace
# that aren't pickleable (module imports are okay, they're removed automatically).
# that aren't pickleable (module imports are okay, they're removed
# automatically).
#
# Note that not all possible configuration values are present in this
# autogenerated file.
@ -14,7 +16,8 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys, os
import sys
import os
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
@ -25,8 +28,8 @@ sys.path.append(
# General configuration
# ---------------------
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
# Add any paths that contain templates here, relative to this directory.
@ -42,17 +45,17 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Debian Developer Portfolio Service'
copyright = u'2009-2013, Jan Dittberner'
project = u'Debian Member Portfolio Service'
copyright = u'2009-2014, Jan Dittberner'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.2.20'
version = '0.3'
# The full version, including alpha/beta/rc tags.
release = '0.2.20'
release = '0.3'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -71,7 +74,8 @@ language = 'en'
# for source files.
exclude_trees = []
# The reST default role (used for this markup: `text`) to use for all documents.
# The reST default role (used for this markup: `text`) to use for all
# documents.
#default_role = None
# If true, '()' will be appended to :func: etc. cross-reference text.
@ -154,7 +158,7 @@ html_use_modindex = False
#html_file_suffix = ''
# Output file base name for HTML help builder.
htmlhelp_basename = 'DebianDeveloperPortfolioServicedoc'
htmlhelp_basename = 'DebianMemberPortfolioServicedoc'
# Options for LaTeX output
@ -167,10 +171,14 @@ htmlhelp_basename = 'DebianDeveloperPortfolioServicedoc'
#latex_font_size = '10pt'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, document class [howto/manual]).
# (source start file, target name, title, author, document class
# [howto/manual]).
latex_documents = [
('index', 'DebianDeveloperPortfolioService.tex', ur'Debian Developer Portfolio Service Documentation',
ur'Jan Dittberner', 'manual'),
('index',
'DebianMemberPortfolioService.tex',
ur'Debian Member Portfolio Service Documentation',
ur'Jan Dittberner',
'manual'),
]
# The name of an image file (relative to this directory) to place at the top of

View file

@ -1,24 +1,23 @@
# -*- python -*-
# -*- coding: utf-8 -*-
#
# DDPortfolio service setup
# Copyright © 2009, 2010, 2011, 2012, 2013 Jan Dittberner <jan@dittberner.info>
# Debian Member Portfolio service setup
# Copyright © 2009-2014 Jan Dittberner <jan@dittberner.info>
#
# This file is part of DDPortfolio service.
# This file is part of the Debian Member Portfolio service.
#
# DDPortfolio service is free software: you can redistribute it 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.
# Debian Member Portfolio service is free software: you can redistribute it
# 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.
#
# DDPortfolio service is distributed in the hope that it will be
# 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.
# Debian Member Portfolio service is distributed in the hope that it will be
# 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.
#
# You should have received a copy of the GNU Affero General Public
# License along with this program. If not, see
# <http://www.gnu.org/licenses/>.
# License along with this program. If not, see <http://www.gnu.org/licenses/>.
#
try:
from setuptools import setup, find_packages
@ -29,11 +28,11 @@ except ImportError:
setup(
name='ddportfolioservice',
version='0.2.20',
description='service to create DDPortfolio URLs',
version='0.3',
description='service to create Debian Member Portfolio URLs',
long_description="""This is a service implementation that
returns a set of personalized URLs as outlined in
http://wiki.debian.org/DDPortfolio. It takes the Debian developers
http://wiki.debian.org/DDPortfolio. It takes the Debian Member's
full name and email address as input and returns a JSON formatted
array of URLs.""",
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
@ -53,7 +52,7 @@ array of URLs.""",
include_package_data=True,
test_suite='nose.collector',
package_data={'ddportfolioservice': ['*.ini', 'i18n/*/LC_MESSAGES/*.mo']},
message_extractors = {'ddportfolioservice': [
message_extractors={'ddportfolioservice': [
('**.py', 'python', None),
('templates/**.mako', 'mako', None),
('public/**', 'ignore', None)]},