summaryrefslogtreecommitdiff
path: root/mtraits
diff options
context:
space:
mode:
authormichele.simionato <devnull@localhost>2009-01-10 10:57:27 +0000
committermichele.simionato <devnull@localhost>2009-01-10 10:57:27 +0000
commitfa82ce790a87093a768b75781861e8df8f196202 (patch)
tree3ffec600f9e3223474d929f7b241872181d34e81 /mtraits
parent513c0782cc321a611c9c15efc6f1eea1611b4a77 (diff)
downloadmicheles-fa82ce790a87093a768b75781861e8df8f196202.tar.gz
Worked on the strait module post; moved the documentation to PyPI with the </pre><pre> trick
Diffstat (limited to 'mtraits')
-rw-r--r--mtraits/setup.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/mtraits/setup.py b/mtraits/setup.py
index 355274f..d6f6d83 100644
--- a/mtraits/setup.py
+++ b/mtraits/setup.py
@@ -3,15 +3,21 @@ try:
except ImportError:
from distutils.core import setup
+try:
+ docfile = file('/tmp/docs.html')
+except IOError: # file not found, ignore
+ doc = ''
+else:
+ doc = docfile.read()
+
VERSION = '0.5.1'
setup(name='strait',
version=VERSION,
description='Simple Traits for Python',
- long_description="""strait is a simple implementation of trait-based object system for Python
-""",
+ long_description="</pre>%s<pre>" % doc,
author='Michele Simionato',
author_email='michele.simionato@gmail.com',
- url='http://www.phyast.pitt.edu/~micheles/python/strait.html',
+ url='http://pypi.python.org/pypi/strait',
license="BSD License",
py_modules = ['strait'],
keywords='',