def __ddl__(self, column_type):
        ddl = [self.as_entity(), self.__ddl_column__(column_type)]
        if not self.null:
            ddl.append(SQL('NOT NULL'))
        if self.primary_key:
            ddl.append(SQL('PRIMARY KEY'))
        if self.sequence:
            ddl.append(SQL("DEFAULT NEXTVAL('%s')" % self.sequence))
        if self.constraints:
            ddl.extend(self.constraints)
        return ddl
Use mkvirtualenv to setup this virtualenv globally for user.
dataset/ETHPy150Open coleifer/peewee/peewee.py/Field.__ddl__--crossover with--dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/custom/shared.py/_create_global_python_virtualenv