(self, SQL_FILE_PATH, project_name)
Create Library project for Athena materials
        :param SQL_FILE_PATH:
        :return:
Create Library project for Athena materials
        :param SQL_FILE_PATH:
        :return:
Create Library project for Athena materials : param SQL_FILE_PATH : : return :
def init_default_project(self, SQL_FILE_PATH, project_name):
        """
        Create Library project for Athena materials
        :param SQL_FILE_PATH:
        :return:
        """

        project = entities.Project(project_name)
        project.houdini_build = '{0}'.format(settings.HOUDINI)
        project.description = 'Eve default project for documentation and tutorials.'

        connection = sqlite3.connect(SQL_FILE_PATH)
        cursor = connection.cursor()

        # Add "library" project to DB
        cursor.execute("INSERT INTO projects VALUES ("
                       ":id,"
                       ":name,"
                       ":houdini_build,"
                       ":description)",

                       {'id': cursor.lastrowid,
                        'name': project.name,
                        'houdini_build': project.houdini_build,
                        'description': project.description})

        connection.commit()
        project.id = cursor.lastrowid  # Add database ID to the project object
        connection.close()
def init_default_project ( self , SQL_FILE_PATH , project_name ) : project = entities . Project ( project_name ) project . houdini_build = '{0}' . format ( settings . HOUDINI ) project . description = 'Eve default project for documentation and tutorials.' connection = sqlite3 . connect ( SQL_FILE_PATH ) cursor = connection . cursor ( ) # Add "library" project to DB cursor . execute ( "INSERT INTO projects VALUES (" ":id," ":name," ":houdini_build," ":description)" , { 'id' : cursor . lastrowid , 'name' : project . name , 'houdini_build' : project . houdini_build , 'description' : project . description } ) connection . commit ( ) project . id = cursor . lastrowid # Add database ID to the project object connection . close ( )