Skip to content

Commit b4b7843

Browse files
author
Sharoon Thomas
committed
Simplify the README as long_description
1 parent 9affd5d commit b4b7843

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,9 @@
2626
:copyright: © 2011 by Openlabs Technologies & Consulting (P) Limited
2727
:license: BSD, see LICENSE for more details.
2828
"""
29-
import os
3029
from setuptools import setup
3130

3231

33-
def read(fname):
34-
return open(os.path.join(os.path.dirname(__file__), fname)).read()
35-
3632
setup(
3733
name="microsofttranslator",
3834
version="0.6",
@@ -45,7 +41,7 @@ def read(fname):
4541
author="Openlabs Technologies & Consulting (P) Limited",
4642
author_email="info@openlabs.co.in",
4743
description="Microsoft Translator V2 - Python API",
48-
long_description=read('README.rst'),
44+
long_description=open('README.rst').read(),
4945
license="BSD",
5046
keywords="translation microsoft",
5147
url="http://openlabs.co.in/",

0 commit comments

Comments
 (0)