How to locally build the D2L package following modification

How to locally build the D2L package following python file modification, so that I can use the modifiied package