Skip to content

Commit

Permalink
Merge pull request #1112 from jdufresne/setup-close-file
Browse files Browse the repository at this point in the history
Always deterministically close files in setup.py
  • Loading branch information
matthiask committed Oct 26, 2018
2 parents 3f4ba54 + 0d6c333 commit 4667eb0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@

from setuptools import find_packages, setup


def readall(path):
with open(path, encoding="utf-8") as fp:
return fp.read()


setup(
name="django-debug-toolbar",
version="1.10.1",
description="A configurable set of panels that display various debug "
"information about the current request/response.",
long_description=open("README.rst", encoding="utf-8").read(),
long_description=readall("README.rst"),
author="Rob Hudson",
author_email="rob@cogit8.org",
url="https://github.com/jazzband/django-debug-toolbar",
Expand Down

0 comments on commit 4667eb0

Please sign in to comment.