Commits

Jason R. Coombs committed 314deec

Fixed rendering of docs

Comments (0)

Files changed (2)

 # built documents.
 #
 # The short X.Y version.
-version = setup_params['version']
+version = setup_params.get('version', 'unknown')
 # The full version, including alpha/beta/rc tags.
 release = version
 
 #!python
 
-# $Id$
-
 import os
 import sys
 from setuptools import find_packages
 		raise RuntimeError("test command not supported on svg.charts. Use setup.py nosetests instead")
 
 _this_dir = os.path.dirname(__file__)
-_long_description = open('readme.txt').read().strip()
+_readme = os.path.join(_this_dir, 'readme.txt')
+_long_description = open(_readme).read().strip()
 
 # it seems that dateutil 2.0 only works under Python 3
 dateutil_req = (