Add #defined constants to Python