From 3fb8f80f0efcc53bf0e3f78d5d04be72dfc1747a Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Wed, 21 Jan 2009 16:11:39 +0100 Subject: [PATCH] add copyright and license information add AGPLv3+ license information and copyright to all Python code and mako templates --- ddportfolioservice/__init__.py | 22 ++++++++++++++++ ddportfolioservice/config/__init__.py | 22 ++++++++++++++++ ddportfolioservice/config/environment.py | 22 ++++++++++++++++ ddportfolioservice/config/middleware.py | 22 ++++++++++++++++ ddportfolioservice/config/routing.py | 22 ++++++++++++++++ ddportfolioservice/controllers/__init__.py | 22 ++++++++++++++++ ddportfolioservice/controllers/ddportfolio.py | 22 ++++++++++++++++ ddportfolioservice/controllers/error.py | 22 ++++++++++++++++ ddportfolioservice/controllers/template.py | 22 ++++++++++++++++ ddportfolioservice/lib/__init__.py | 22 ++++++++++++++++ ddportfolioservice/lib/app_globals.py | 22 ++++++++++++++++ ddportfolioservice/lib/base.py | 22 ++++++++++++++++ ddportfolioservice/lib/helpers.py | 22 ++++++++++++++++ ddportfolioservice/model/__init__.py | 22 ++++++++++++++++ ddportfolioservice/model/ddportfolio.ini | 17 +++++++++++++ ddportfolioservice/model/form.py | 25 +++++++++++++++++++ ddportfolioservice/model/keyfinder.py | 20 +++++++++++++++ ddportfolioservice/model/keyringanalyzer.py | 20 +++++++++++++++ ddportfolioservice/model/urlbuilder.py | 25 +++++++++++++++++++ ddportfolioservice/templates/showform.mako | 25 +++++++++++++++++-- ddportfolioservice/templates/showurls.mako | 20 +++++++++++++++ ddportfolioservice/tests/__init__.py | 22 ++++++++++++++++ .../tests/functional/__init__.py | 22 ++++++++++++++++ .../tests/functional/test_ddportfolio.py | 22 ++++++++++++++++ ddportfolioservice/tests/test_models.py | 22 ++++++++++++++++ ddportfolioservice/websetup.py | 22 ++++++++++++++++ setup.py | 22 ++++++++++++++++ 27 files changed, 590 insertions(+), 2 deletions(-) diff --git a/ddportfolioservice/__init__.py b/ddportfolioservice/__init__.py index e69de29..98fc07b 100644 --- a/ddportfolioservice/__init__.py +++ b/ddportfolioservice/__init__.py @@ -0,0 +1,22 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service package +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# diff --git a/ddportfolioservice/config/__init__.py b/ddportfolioservice/config/__init__.py index e69de29..5d13c6e 100644 --- a/ddportfolioservice/config/__init__.py +++ b/ddportfolioservice/config/__init__.py @@ -0,0 +1,22 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service config package +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# diff --git a/ddportfolioservice/config/environment.py b/ddportfolioservice/config/environment.py index 2056bc7..4f4b8dc 100644 --- a/ddportfolioservice/config/environment.py +++ b/ddportfolioservice/config/environment.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service environment configuration +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """Pylons environment configuration""" import os diff --git a/ddportfolioservice/config/middleware.py b/ddportfolioservice/config/middleware.py index 1033181..4cc9378 100644 --- a/ddportfolioservice/config/middleware.py +++ b/ddportfolioservice/config/middleware.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service middleware configuration +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """Pylons middleware initialization""" from paste.cascade import Cascade from paste.registry import RegistryManager diff --git a/ddportfolioservice/config/routing.py b/ddportfolioservice/config/routing.py index edfa2e8..d0d8ea9 100644 --- a/ddportfolioservice/config/routing.py +++ b/ddportfolioservice/config/routing.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service routing configuration +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """Routes configuration The more specific and detailed routes should be defined first so they diff --git a/ddportfolioservice/controllers/__init__.py b/ddportfolioservice/controllers/__init__.py index e69de29..6074769 100644 --- a/ddportfolioservice/controllers/__init__.py +++ b/ddportfolioservice/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service controllers package +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# diff --git a/ddportfolioservice/controllers/ddportfolio.py b/ddportfolioservice/controllers/ddportfolio.py index 7c7702d..0ccf559 100644 --- a/ddportfolioservice/controllers/ddportfolio.py +++ b/ddportfolioservice/controllers/ddportfolio.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service DdportfolioController +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# import logging import simplejson diff --git a/ddportfolioservice/controllers/error.py b/ddportfolioservice/controllers/error.py index b09e4ec..114f52a 100644 --- a/ddportfolioservice/controllers/error.py +++ b/ddportfolioservice/controllers/error.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service ErrorController +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# import cgi import os.path diff --git a/ddportfolioservice/controllers/template.py b/ddportfolioservice/controllers/template.py index 0192e98..817a4c4 100644 --- a/ddportfolioservice/controllers/template.py +++ b/ddportfolioservice/controllers/template.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service TemplateController +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# from ddportfolioservice.lib.base import * class TemplateController(BaseController): diff --git a/ddportfolioservice/lib/__init__.py b/ddportfolioservice/lib/__init__.py index e69de29..9017306 100644 --- a/ddportfolioservice/lib/__init__.py +++ b/ddportfolioservice/lib/__init__.py @@ -0,0 +1,22 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service lib package +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# diff --git a/ddportfolioservice/lib/app_globals.py b/ddportfolioservice/lib/app_globals.py index 7f7585f..7969caa 100644 --- a/ddportfolioservice/lib/app_globals.py +++ b/ddportfolioservice/lib/app_globals.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service application Globals +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """The application's Globals object""" from pylons import config diff --git a/ddportfolioservice/lib/base.py b/ddportfolioservice/lib/base.py index be55c0a..9dc819c 100644 --- a/ddportfolioservice/lib/base.py +++ b/ddportfolioservice/lib/base.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service base controller +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """The base Controller API Provides the BaseController class for subclassing, and other objects diff --git a/ddportfolioservice/lib/helpers.py b/ddportfolioservice/lib/helpers.py index bfa5567..cd99905 100644 --- a/ddportfolioservice/lib/helpers.py +++ b/ddportfolioservice/lib/helpers.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service webhelpers +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """Helper functions Consists of functions to typically be used within templates, but also diff --git a/ddportfolioservice/model/__init__.py b/ddportfolioservice/model/__init__.py index e69de29..f5029b6 100644 --- a/ddportfolioservice/model/__init__.py +++ b/ddportfolioservice/model/__init__.py @@ -0,0 +1,22 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service model package +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# diff --git a/ddportfolioservice/model/ddportfolio.ini b/ddportfolioservice/model/ddportfolio.ini index 74ec9ac..719d3d6 100644 --- a/ddportfolioservice/model/ddportfolio.ini +++ b/ddportfolioservice/model/ddportfolio.ini @@ -1,3 +1,20 @@ +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# [DEFAULT] keyring.dir=/usr/share/keyrings diff --git a/ddportfolioservice/model/form.py b/ddportfolioservice/model/form.py index a4cba23..a727aa9 100644 --- a/ddportfolioservice/model/form.py +++ b/ddportfolioservice/model/form.py @@ -1,8 +1,33 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service form handling model +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# import formencode class DeveloperData(formencode.Schema): + """Validation schema for DeveloperData.""" allow_extra_fields = True filter_extra_fields = True name = formencode.validators.String(not_empty=True) email = formencode.validators.Email(not_empty=True) username = formencode.validators.PlainText(not_empty=True) + # TODO: add validation for fingerprint field + # TODO: add validation for mode field diff --git a/ddportfolioservice/model/keyfinder.py b/ddportfolioservice/model/keyfinder.py index f19dfff..531cab9 100644 --- a/ddportfolioservice/model/keyfinder.py +++ b/ddportfolioservice/model/keyfinder.py @@ -1,5 +1,25 @@ # -*- python -*- # -*- coding: utf-8 -*- +# +# DDPortfolio service key finder module +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """ This module provides tools for finding PGP key information from a given keyring. diff --git a/ddportfolioservice/model/keyringanalyzer.py b/ddportfolioservice/model/keyringanalyzer.py index 6691a6a..a8b7090 100644 --- a/ddportfolioservice/model/keyringanalyzer.py +++ b/ddportfolioservice/model/keyringanalyzer.py @@ -1,5 +1,25 @@ # -*- python -*- # -*- coding: utf-8 -*- +# +# DDPortfolio service application key ring analyzer tool +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """ This is a tool that analyzes GPG and PGP keyrings and stores the retrieved data in a file database. The tool was inspired by Debian diff --git a/ddportfolioservice/model/urlbuilder.py b/ddportfolioservice/model/urlbuilder.py index 11cad6e..6f1a3da 100644 --- a/ddportfolioservice/model/urlbuilder.py +++ b/ddportfolioservice/model/urlbuilder.py @@ -1,5 +1,30 @@ # -*- python -*- # -*- coding: utf8 -*- +# +# DDPortfolio service url builder +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# +""" +This module provides the function build_urls to build personalized +URLs using the given information and the URL patterns defined in +ddportfolio.ini. +""" import ConfigParser import pkg_resources diff --git a/ddportfolioservice/templates/showform.mako b/ddportfolioservice/templates/showform.mako index 9d46f08..7a64037 100644 --- a/ddportfolioservice/templates/showform.mako +++ b/ddportfolioservice/templates/showform.mako @@ -1,5 +1,26 @@ - +<%doc> +Template for the data input form. +Copyright (c) 2009 Jan Dittberner + +This file is part of DDPortfolio 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. + +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. + +You should have received a copy of the GNU Affero General Public +License along with this program. If not, see +. + + ${_('Debian Developer Portfolio')} diff --git a/ddportfolioservice/templates/showurls.mako b/ddportfolioservice/templates/showurls.mako index 2df852c..8aae84b 100644 --- a/ddportfolioservice/templates/showurls.mako +++ b/ddportfolioservice/templates/showurls.mako @@ -1,3 +1,23 @@ +<%doc> +Template for the url output page. +Copyright (c) 2009 Jan Dittberner + +This file is part of DDPortfolio 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. + +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. + +You should have received a copy of the GNU Affero General Public +License along with this program. If not, see +. + diff --git a/ddportfolioservice/tests/__init__.py b/ddportfolioservice/tests/__init__.py index 91ff2e7..e3d153d 100644 --- a/ddportfolioservice/tests/__init__.py +++ b/ddportfolioservice/tests/__init__.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service tests package +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """Pylons application test package When the test runner finds and executes tests within this directory, diff --git a/ddportfolioservice/tests/functional/__init__.py b/ddportfolioservice/tests/functional/__init__.py index e69de29..528ca53 100644 --- a/ddportfolioservice/tests/functional/__init__.py +++ b/ddportfolioservice/tests/functional/__init__.py @@ -0,0 +1,22 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service functional tests package +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# diff --git a/ddportfolioservice/tests/functional/test_ddportfolio.py b/ddportfolioservice/tests/functional/test_ddportfolio.py index c67c4ed..7c422f4 100644 --- a/ddportfolioservice/tests/functional/test_ddportfolio.py +++ b/ddportfolioservice/tests/functional/test_ddportfolio.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service DdportfolioController test +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# from ddportfolioservice.tests import * class TestDdportfolioController(TestController): diff --git a/ddportfolioservice/tests/test_models.py b/ddportfolioservice/tests/test_models.py index e69de29..1bd689b 100644 --- a/ddportfolioservice/tests/test_models.py +++ b/ddportfolioservice/tests/test_models.py @@ -0,0 +1,22 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service model tests +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# diff --git a/ddportfolioservice/websetup.py b/ddportfolioservice/websetup.py index 763622c..fcbacd8 100644 --- a/ddportfolioservice/websetup.py +++ b/ddportfolioservice/websetup.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service websetup +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# """Setup the ddportfolioservice application""" import logging diff --git a/setup.py b/setup.py index 4dfafb4..58aeb28 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,25 @@ +# -*- python -*- +# -*- coding: utf-8 -*- +# +# DDPortfolio service setup +# Copyright (c) 2009 Jan Dittberner +# +# This file is part of DDPortfolio 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. +# +# 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. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# . +# try: from setuptools import setup, find_packages except ImportError: