update make.py pythonic