Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
Use README.rst for setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming committed May 26, 2017
1 parent af17a11 commit a21cb78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ def read_file(fname):
"""
Read file and decode in py2k
"""
# This is necessary because we cannot use unicode_literals in
# setup.py
if IS_PYTHON_2:
return open(fname).read().decode("utf-8")
return open(fname).read()


dist_name = 'barbequeue'

readme = "Empty for now." # read_file('README.rst')
readme = read_file('README.rst')

# Default description of the distributed package
description = ("""A queueing library with support for Windows and Unix.""")
Expand Down

0 comments on commit a21cb78

Please sign in to comment.