@@ -0,0 +1,861 @@
+import os%0Aimport shutil%0A%0Adef main():%0A    cwd = os.getcwd()%0A    if not cwd.endswith(os.path.join('FRENSIE', 'scripts')):%0A        print 'This script must be run in %5C%22FRENSIE/scipts%5C%22'%0A        return 1%0A    %0A    os.chdir('../../')%0A    os.mkdir('frensie_build_tree')%0A    os.renames('FRENSIE', 'frensie_build_tree/FRENSIE')%0A    os.chdir('frensie_build_tree')%0A    os.symlink('FRENSIE', 'src')%0A    os.mkdir('deps')%0A    os.mkdir('deps/install')%0A    os.mkdir('build')%0A    shutil.copyfile('src/makefile.deps', 'deps/makefile')%0A    shutil.copyfile('src/frensie.sh', 'build/frensie.sh')   %0A%0A    print %22%22%22%0ATo build dependencies move necessary tars to deps/tars.%0Acd to frensie_build_tree/deps and run make all.%0A%0ATo once all dependecies exist in frensie_build_tree/deps/install%0Acd to frensie_build_tree/build and run bash frensie.sh%0A%22%22%22%0A%0A%0Aif __name__ == '__main__':%0A    main()%0A

initialize build tree in frensie_build_tree. Needs error handling and better messages