import sys, os from os.path import dirname, abspath PROJECT_ROOT = abspath(dirname(dirname(__file__))) sys.path.append(PROJECT_ROOT) sys.path.append(PROJECT_ROOT+'/apps') sys.path.append(PROJECT_ROOT+'/lib') sys.path.append('/home/luxagraf/webapps/django1_3/lib/python2.7/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from build.base import BuildWriting,BuildMap,BuildPhotos,BuildAbout,BuildProjects b = BuildWriting() b.build() b = BuildPhotos() b.build() b = BuildMap() b.build() b = BuildAbout() b.build() b = BuildProjects() b.build()