Commits

German Larrain committed 135095e

setup: extracted 'packages' definition from call to function 'setup'.

Comments (0)

Files changed (1)

 
 version = __import__('ars').get_version()
 
+packages = [
+	'ars',
+	'ars.app',
+	'ars.graphics',
+	'ars.lib',
+	'ars.lib.pydispatch',
+	'ars.model',
+	'ars.model.collision',
+	'ars.model.contrib',
+	'ars.model.geometry',
+	'ars.model.physics',
+	'ars.model.robot',
+	'ars.model.simulator',
+	'ars.utils',
+]
+
 setup(
 	name='ARS',
 	version=version,
 		'numpy',
 		'six',
 	],  # requires=['ode', 'vtk', 'numpy'],
+	packages=packages,
 	#package_dir={}, 
-	packages=[
-		'ars',
-		'ars.app', 'ars.graphics', 'ars.lib', 'ars.model',
-		'ars.utils',
-		'ars.lib.pydispatch',
-		'ars.model.collision', 'ars.model.contrib', 'ars.model.geometry',
-		'ars.model.physics', 'ars.model.robot', 'ars.model.simulator',],
 	#py_modules=[''],
 	#ext_modules=[]
 	#libraries=[]