Commits

German Larrain committed 73da6c2

setup: extracted 'long_description' value reading from file from the call to function 'setup'.

Comments (0)

Files changed (1)

 
 version = __import__('ars').get_version()
 
+with open('README.rst') as readme_file:
+	long_description = readme_file.read()
+
 packages = [
 	'ars',
 	'ars.app',
 	name='ARS',
 	version=version,
 	description='Physically-accurate robotics simulator',
-	long_description=open('README.rst').read(),
+	long_description=long_description,
 	author='German Larrain-Munoz',
 	author_email='glarrain@users.noreply.github.com',
 	url='http://bitbucket.org/glarrain/ars',