Skip to content

Commit

Permalink
Keep read helper for reading further resources as proposed in CR.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Havlik committed Dec 4, 2019
1 parent 88f0d27 commit 2801f2e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions setup.py
Expand Up @@ -13,8 +13,15 @@
##############################################################################
"""Setup for zc.table package
"""
import os
from setuptools import setup, find_packages


def read(*rnames):
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()


setup(
name="zc.table",
version='0.10.0.dev0',
Expand Down Expand Up @@ -47,9 +54,9 @@
author_email='zope-dev@zope.org',
description="Zope table",
long_description=(
open('README.txt').read()
read('README.txt')
+ '\n\n' +
open('CHANGES.txt').read()
read('CHANGES.txt')
),
license='ZPL 2.1',
keywords="zope zope3",
Expand Down

0 comments on commit 2801f2e

Please sign in to comment.