- site_packages_path = [ path + os.sep + 'sfa' for path in python_path if path.endswith('site-packages')]
- remove_dirs = ['/etc/sfa/'] + site_packages_path
+ site_packages_path = [ os.path.join(p,'sfa') for p in python_path if p.endswith('site-packages')]
+ site_packages_path += [ os.path.join(p,'sfatables') for p in python_path if p.endswith('site-packages')]
+ remove_dirs = ['/etc/sfa/', '/etc/sfatables'] + site_packages_path
+ remove_bins = [ '/usr/bin/' + os.path.basename(bin) for bin in bins ]