Skip to content

Commit

Permalink
fix ResourceWarning in setup.py
Browse files Browse the repository at this point in the history
found with python -Wd setup.py test
  • Loading branch information
JonnyJD committed Oct 27, 2014
1 parent 927aec1 commit 5efb4e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -42,11 +42,13 @@ def run(self):
else:
sys.exit(len(result.failures) + len(result.errors))

with open("README.rst") as readme:
long_description = readme.read()

setup(name="discid",
version=__version__,
description="Python binding of Libdiscid",
long_description=open("README.rst").read(),
long_description=long_description,
author="Johannes Dewender",
author_email="brainz@JonnyJD.net",
url="https://python-discid.readthedocs.org/",
Expand Down

0 comments on commit 5efb4e8

Please sign in to comment.