Commits

Vinay Sajip committed d64faae

setup.py and documentation tweaks.

Comments (0)

Files changed (5)

+:orphan:
+
+.. _whats-new:
+
 What's New in logutils
 ======================
 
+Version 0.3.1
+-------------
+
+- Improvements in setup.py and documentation.
+
 Version 0.3
 -----------
 
 - Added caches for BraceMessage/DollarMessage.
-
 - Added ColorizingStreamHandler.
 
-
 Version 0.2
 -----------
 
 
 # General information about the project.
 project = u'Logutils'
-copyright = u'2010, Vinay Sajip'
+copyright = u'2010-2011, Vinay Sajip'
 
 # 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'
+version = '0.3'
 # The full version, including alpha/beta/rc tags.
-release = '0.2'
+release = '0.3'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 
 .. automodule:: logutils
 
+   For recent changes, see :ref:`whats-new`.
+
 There are a number of subcomponents to this package, relating to particular
 tasks you may want to perform:
 

logutils/__init__.py

 import logging
 from string import Template
 
-__version__ = '0.3'
+__version__ = '0.3.1'
 
 class NullHandler(logging.Handler):
     """
 
 
 def description():
-    readme = open(join(dirname(__file__), 'README.txt')).read()
+    f = open(join(dirname(__file__), 'README.txt'))
+    readme = f.read()
+    f.close()
     regexp = r'^logutils\s*[\d.]*\s*\n=======+\s*\n(.*)Requirements '
     reqts, = re.findall(regexp, readme, re.DOTALL)
     regexp = r'Availability & Documentation\s*\n-----+\s*\n(.*)'
     long_description = description(),
     license='New BSD',
     classifiers=[
-        'Development Status :: 4 - Beta',
+        'Development Status :: 5 - Production',
         'Environment :: Console',
         'Intended Audience :: Developers',
         'License :: OSI Approved :: BSD License',
         'Operating System :: OS Independent',
         'Programming Language :: Python',
+        "Programming Language :: Python :: 3",
         'Topic :: Software Development',
     ],
     packages=['logutils'],