Someone
public text v1 · immutable def installfiles(self):
destpath = os.path.join(self.root, "usr/share/litconverter")
if not os.path.exists(destpath):
os.makedirs(destpath)
os.chdir('src')
for py_files in glob.glob('*.py'):
print 'Installing', py_files
shutil.copy(py_files, os.path.join(destpath, py_files))
destpath = os.path.join(self.root, "usr/bin")
os.symlink("litconverter", os.path.join(destpath, "litconverter"))
os.chdir('..')