From 40996e01996096f252ef9d7754edf054e691900d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Pievil=C3=A4inen?= Date: Sat, 3 Mar 2012 11:43:08 +0200 Subject: Metadata fixes Fix remaining references to PSF license, change maintainer info. Removed most occurances of __author__, since it felt redundant with the copyright notice (credit) and package metadata (developer contact). Also fixed references to Python 2.3 (it's not even tested anymore) and changed calls from python3 to just python (let the system decide). --- LICENSE | 3 ++- README | 2 +- dateutil/__init__.py | 7 ++++--- dateutil/easter.py | 3 +-- dateutil/parser.py | 3 +-- dateutil/relativedelta.py | 3 +-- dateutil/rrule.py | 3 +-- dateutil/tz.py | 3 +-- dateutil/tzwin.py | 1 - dateutil/zoneinfo/__init__.py | 7 ++++--- sandbox/scheduler.py | 7 ++++--- setup.py | 10 +++++----- updatezinfo.py | 2 +- 13 files changed, 26 insertions(+), 28 deletions(-) diff --git a/LICENSE b/LICENSE index f08c6ad..5834335 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ -dateutil - Extensions to the standard python 2.3+ datetime module. +dateutil - Extensions to the standard Python datetime module. Copyright (c) 2003-2011 - Gustavo Niemeyer +Copyright (c) 2012 - Tomi Pieviläinen All rights reserved. diff --git a/README b/README index dbe7988..9453699 100644 --- a/README +++ b/README @@ -6,7 +6,7 @@ == Description == The '''dateutil''' module provides powerful extensions to -the standard '''datetime''' module, available in Python 2.3+. +the standard '''datetime''' module, available in Python. == Features == diff --git a/dateutil/__init__.py b/dateutil/__init__.py index 1187e3e..0f91a31 100644 --- a/dateutil/__init__.py +++ b/dateutil/__init__.py @@ -1,9 +1,10 @@ +# -*- coding: utf-8 -*- """ Copyright (c) 2003-2010 Gustavo Niemeyer -This module offers extensions to the standard python 2.3+ +This module offers extensions to the standard Python datetime module. """ -__author__ = "Gustavo Niemeyer " +__author__ = "Tomi Pieviläinen " __license__ = "Simplified BSD" -__version__ = "2.0" +__version__ = "2.1" diff --git a/dateutil/easter.py b/dateutil/easter.py index cebefcd..d8a3884 100644 --- a/dateutil/easter.py +++ b/dateutil/easter.py @@ -1,10 +1,9 @@ """ Copyright (c) 2003-2007 Gustavo Niemeyer -This module offers extensions to the standard python 2.3+ +This module offers extensions to the standard Python datetime module. """ -__author__ = "Gustavo Niemeyer " __license__ = "Simplified BSD" import datetime diff --git a/dateutil/parser.py b/dateutil/parser.py index b3ac37b..a2604a3 100644 --- a/dateutil/parser.py +++ b/dateutil/parser.py @@ -2,11 +2,10 @@ """ Copyright (c) 2003-2007 Gustavo Niemeyer -This module offers extensions to the standard python 2.3+ +This module offers extensions to the standard Python datetime module. """ from __future__ import unicode_literals -__author__ = "Gustavo Niemeyer " __license__ = "Simplified BSD" diff --git a/dateutil/relativedelta.py b/dateutil/relativedelta.py index 67de55e..1674d80 100644 --- a/dateutil/relativedelta.py +++ b/dateutil/relativedelta.py @@ -1,10 +1,9 @@ """ Copyright (c) 2003-2010 Gustavo Niemeyer -This module offers extensions to the standard python 2.3+ +This module offers extensions to the standard Python datetime module. """ -__author__ = "Gustavo Niemeyer " __license__ = "Simplified BSD" import datetime diff --git a/dateutil/rrule.py b/dateutil/rrule.py index b65afc0..ad4d3ba 100644 --- a/dateutil/rrule.py +++ b/dateutil/rrule.py @@ -1,10 +1,9 @@ """ Copyright (c) 2003-2010 Gustavo Niemeyer -This module offers extensions to the standard python 2.3+ +This module offers extensions to the standard Python datetime module. """ -__author__ = "Gustavo Niemeyer " __license__ = "Simplified BSD" import itertools diff --git a/dateutil/tz.py b/dateutil/tz.py index e736d58..e1976db 100644 --- a/dateutil/tz.py +++ b/dateutil/tz.py @@ -1,10 +1,9 @@ """ Copyright (c) 2003-2007 Gustavo Niemeyer -This module offers extensions to the standard python 2.3+ +This module offers extensions to the standard Python datetime module. """ -__author__ = "Gustavo Niemeyer " __license__ = "Simplified BSD" from six import string_types, PY3 diff --git a/dateutil/tzwin.py b/dateutil/tzwin.py index b378f59..041c6cc 100644 --- a/dateutil/tzwin.py +++ b/dateutil/tzwin.py @@ -3,7 +3,6 @@ import datetime import struct import winreg -__author__ = "Jeffrey Harris & Gustavo Niemeyer " __all__ = ["tzwin", "tzwinlocal"] diff --git a/dateutil/zoneinfo/__init__.py b/dateutil/zoneinfo/__init__.py index e7709bb..0ffb294 100644 --- a/dateutil/zoneinfo/__init__.py +++ b/dateutil/zoneinfo/__init__.py @@ -1,15 +1,16 @@ +# -*- coding: utf-8 -*- """ Copyright (c) 2003-2005 Gustavo Niemeyer -This module offers extensions to the standard python 2.3+ +This module offers extensions to the standard Python datetime module. """ from dateutil.tz import tzfile from tarfile import TarFile import os -__author__ = "Gustavo Niemeyer " -__license__ = "PSF License" +__author__ = "Tomi Pieviläinen " +__license__ = "Simplified BSD" __all__ = ["setcachesize", "gettz", "rebuild"] diff --git a/sandbox/scheduler.py b/sandbox/scheduler.py index 39740eb..62794d5 100644 --- a/sandbox/scheduler.py +++ b/sandbox/scheduler.py @@ -1,11 +1,12 @@ +# -*- coding: utf-8 -*- """ Copyright (c) 2003-2005 Gustavo Niemeyer -This module offers extensions to the standard python 2.3+ +This module offers extensions to the standard Python datetime module. """ -__author__ = "Gustavo Niemeyer " -__license__ = "PSF License" +__author__ = "Tomi Pieviläinen " +__license__ = "Simplified BSD" import datetime import _thread diff --git a/setup.py b/setup.py index 8a6921b..a83903f 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/python from os.path import isfile, join import glob import os @@ -18,11 +18,11 @@ VERSION = re.search('__version__ = "([^"]+)"', setup(name="python-dateutil", version = VERSION, - description = "Extensions to the standard python 2.3+ datetime module", - author = "Gustavo Niemeyer", - author_email = "gustavo@niemeyer.net", + description = "Extensions to the standard Python datetime module", + author = "Tomi Pievilaeinen", + author_email = "tomi.pievilainen@iki.fi", url = "http://labix.org/python-dateutil", - license = "PSF License", + license = "Simplified BSD", long_description = """\ The dateutil module provides powerful extensions to the diff --git a/updatezinfo.py b/updatezinfo.py index ae8b772..415b8c3 100755 --- a/updatezinfo.py +++ b/updatezinfo.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/python from dateutil.zoneinfo import rebuild import shutil import sys -- cgit v1.2.3