Commits

Atsushi Odagiri  committed e7e511b Draft

garden

  • Participants
  • Parent commits 6a993ca

Comments (0)

Files changed (3)

+History
+-------
+
+0.1.1 (2011-06-17)
+~~~~~~~~~~~~~~~~~~
+
+- bucho becomes pluggable
+
+0.1.0 (2011-05-01)
+~~~~~~~~~~~~~~~~~~
+
+- bucho now work with Python3.
+- rename `bucho.wsgi.wsgi_app` into `bucho.wsgi.application`.
+- fixed: all_status return only a single status.
+- fixed: bucho.command cause exception when print unicode.
+
+
+0.0.5 (2011-02-27)
+~~~~~~~~~~~~~~~~~~
+
+- add `bucho` console script.
+- add `bucho.wsgi.wsgi_app` wsgi application.
+- add `main` entry point for paste.app_factory.
+- some functions show(),latest_status(),all_status() stop print text and
+  now return text. this is incompatible change.
+
+
+0.0.4 (2010-07-10)
+~~~~~~~~~~~~~~~~~~
+
+- add latest_status, all_status
+- add torumemo
+
+0.0.3 (2010-07-10)
+~~~~~~~~~~~~~~~~~~
+
+- bucho can show !
+
+0.0.2 (2010-07-10)
+~~~~~~~~~~~~~~~~~~
+
+- you can import bucho
+
+0.0.1 (2010-07-10)
+~~~~~~~~~~~~~~~~~~
+
+- first release
+`bucho` is a package for exercises. Yes, we love bucho!
+
+Setup
+-----
+
+::
+
+  $ easy_install bucho
+
+Plugin
+~~~~~~~
+
+pugin entry point is ``bucho.commands``.
     import distribute_setup
     distribute_setup.use_setuptools()
 
+import os
 import sys
 
+here = os.path.dirname(__file__)
+def _read(name):
+    try:
+        f = open(os.path.join(here, name))
+        return f.read()
+    except:
+        return ""
+
 version = '0.1.1'
 name = 'bucho'
 short_description = '`bucho` is a package for exercises.'
-long_description = """\
-`bucho` is a package for exercises. Yes, we love bucho!
+readme = _read('README.txt')
+history = _read('HISTORY.txt')
 
-Setup
------
-
-::
-
-  $ easy_install bucho
-
-Plugin
-~~~~~~~
-
-pugin entry point is ``bucho.commands``.
-
-
-History
--------
-
-0.1.1 (2011-06-17)
-~~~~~~~~~~~~~~~~~~
-
-- bucho becomes pluggable
-
-0.1.0 (2011-05-01)
-~~~~~~~~~~~~~~~~~~
-
-- bucho now work with Python3.
-- rename `bucho.wsgi.wsgi_app` into `bucho.wsgi.application`.
-- fixed: all_status return only a single status.
-- fixed: bucho.command cause exception when print unicode.
-
-
-0.0.5 (2011-02-27)
-~~~~~~~~~~~~~~~~~~
-
-- add `bucho` console script.
-- add `bucho.wsgi.wsgi_app` wsgi application.
-- add `main` entry point for paste.app_factory.
-- some functions show(),latest_status(),all_status() stop print text and
-  now return text. this is incompatible change.
-
-
-0.0.4 (2010-07-10)
-~~~~~~~~~~~~~~~~~~
-
-- add latest_status, all_status
-- add torumemo
-
-0.0.3 (2010-07-10)
-~~~~~~~~~~~~~~~~~~
-
-- bucho can show !
-
-0.0.2 (2010-07-10)
-~~~~~~~~~~~~~~~~~~
-
-- you can import bucho
-
-0.0.1 (2010-07-10)
-~~~~~~~~~~~~~~~~~~
-
-- first release
-"""
+long_description = readme + "\n" + history
 
 classifiers = [
     'Development Status :: 2 - Pre-Alpha',