(self)
return path
return the list of path to search packages for depending on client OS and architecture
return the list of path to search packages for depending on client OS and architecture
return the list of path to search packages for depending on client OS and architecture
def get_packages_path(self):
		""" return the list of path to search packages for depending on client OS and architecture """
		path=[]
		if self.is_windows():
			if self.is_proc_arch_64_bits():
				path.append(os.path.join("packages","windows","amd64"))
			else:
				path.append(os.path.join("packages","windows","x86"))
			path.append(os.path.join("packages","windows","all"))
		elif self.is_unix():
			if self.is_proc_arch_64_bits():
				path.append(os.path.join("packages","linux","amd64"))
			else:
				path.append(os.path.join("packages","linux","x86"))
			path.append(os.path.join("packages","linux","all"))
		path.append(os.path.join("packages","all"))
		return path
def get_packages_path ( self ) : path = [ ] if self . is_windows ( ) : if self . is_proc_arch_64_bits ( ) : path . append ( os . path . join ( "packages" , "windows" , "amd64" ) ) else : path . append ( os . path . join ( "packages" , "windows" , "x86" ) ) path . append ( os . path . join ( "packages" , "windows" , "all" ) ) elif self . is_unix ( ) : if self . is_proc_arch_64_bits ( ) : path . append ( os . path . join ( "packages" , "linux" , "amd64" ) ) else : path . append ( os . path . join ( "packages" , "linux" , "x86" ) ) path . append ( os . path . join ( "packages" , "linux" , "all" ) ) path . append ( os . path . join ( "packages" , "all" ) ) return path