German Larrain avatar 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',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.