Skip to content

Commit

Permalink
added doctest to long_description so they show up on pypi-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jan 3, 2009
1 parent 8c5f066 commit 4001419
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions setup.py
@@ -1,6 +1,6 @@
##############################################################################
#
# Copyright (c) 2007 Zope Foundation and Contributors.
# Copyright (c) 2007-2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Expand All @@ -11,10 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Setup

$Id:$
"""
import os
from setuptools import setup, find_packages

Expand All @@ -29,6 +26,10 @@ def read(*rnames):
description = "A ready to go menu for Zope3",
long_description=(
read('README.txt')
+ '\n\n.. contents::\n\n' +
read('src', 'z3c', 'menu', 'ready2go', 'README.txt')
+ '\n\n' +
read('src', 'z3c', 'menu', 'ready2go', 'zcml.txt')
+ '\n\n' +
read('CHANGES.txt')
),
Expand Down Expand Up @@ -76,4 +77,4 @@ def read(*rnames):
'zope.viewlet',
],
zip_safe = False,
)
)

0 comments on commit 4001419

Please sign in to comment.